CVE-2024-3119

CRITICAL

sngrep <0.4.2 - Buffer Overflow

Title source: llm
STIX 2.1

Description

A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of 'Call-ID' and 'X-Call-ID' SIP headers. The functions sip_get_callid and sip_get_xcallid in sip.c use the strncpy function to copy header contents into fixed-size buffers without checking the data length. This flaw allows remote attackers to execute arbitrary code or cause a denial of service (DoS) through specially crafted SIP messages.

Scores

CVSS v3 9.0
EPSS 0.0190
EPSS Percentile 83.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-120 CWE-787
Status published
Products (1)
irontec/sngrep 0.4.2 - 1.8.1
Published Apr 10, 2024
Tracked Since Feb 18, 2026