CVE-2024-3119: A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of 'Ca
CVE-2024-3119 is a critical-severity flaw (CVSS 9.0) affecting sngrep. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-3119?
sngrep: upgrade to 1.8.1. Exact commands for each OS are on this page.
Is CVE-2024-3119 being exploited?
CVE-2024-3119 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-3119 affect?
CVE-2024-3119 affects sngrep. Severity is critical (CVSS 9.0). 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 hea
How urgent is CVE-2024-3119?
Priority 56/100. Critical severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-3120 CRITICAL 9.0 UPGRADE A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1
- CVE-2024-35434 HIGH 7.5 DOWNGRADE Irontec Sngrep v1.8.1 was discovered to contain a heap buffer overflow via the function rtp_check_packet at /s
- CVE-2023-36192 HIGH 7.8 DOWNGRADE Sngrep v1.6.0 was discovered to contain a heap buffer overflow via the function capture_ws_check_packet at /sr