CVE-2024-3120
CWE-120Published: April 10, 2024· Updated: Jun 17, 2026
Official Description
A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. The flaw is due to inadequate bounds checking when copying 'Content-Length' and 'Warning' headers into fixed-size buffers in the sip_validate_packet and sip_parse_extra_headers functions within src/sip.c. This vulnerability allows remote attackers to execute arbitrary code or cause a denial of service (DoS) via crafted SIP messages.
Risk Analysis
This vulnerability is a stack-buffer overflow in sngrep caused by insufficient bounds checking when processing SIP headers. Given the critical CVSS score of 9.8, this flaw allows remote, unauthenticated attackers to trigger arbitrary code execution or a denial of service.
There is no known public exploit for this vulnerability, and it is not currently listed in CISA KEV. It is remotely exploitable with low attack complexity.
Users should update sngrep to a version that includes the necessary bounds checking fixes for sip_validate_packet and sip_parse_extra_headers.
Technical Analysis
CVE-2024-3120 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-3120 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts