CVE-2024-3119
CWE-120Published: April 10, 2024· Updated: Jun 17, 2026
Official 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.
Risk Analysis
A buffer overflow exists in sngrep due to improper handling of specific SIP headers, allowing remote attackers to execute arbitrary code or cause a crash. The critical 9.8 CVSS score reflects the high impact and ease of remote exploitation.
No public exploit is known, and the vulnerability is not in CISA KEV. It is remotely exploitable with low complexity.
Update to the latest version of sngrep to ensure proper length checking is implemented for Call-ID and X-Call-ID header processing.
Technical Analysis
CVE-2024-3119 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (6)
Quick Facts
Related CVEs (CWE-120)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-3119 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts