Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-3120
- 2026-10-03 Alias added: GHSA-4p8q-p8qc-486x
References
More irontec Sngrep vulnerabilities
- TI-2024-23438 Irontec Sngrep v1.8.1 was discovered to contain a heap buffer overflow via the function… CVSS 3.1HIGH 7.5
- TI-2023-18152 Sngrep v1.6.0 was discovered to contain a heap buffer overflow via the function… CVSS 3.1HIGH 7.8
- TI-2023-15298 Sngrep v1.6.0 was discovered to contain a heap buffer overflow via the function… CVSS 3.1HIGH 7.8
- TI-2023-15297 Sngrep v1.6.0 was discovered to contain a stack buffer overflow via the function packet_set_payload at /src/packet.c. CVSS 3.1HIGH 7.8
- TI-2024-02921 Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-3120 · CVE Program
- CVE-2024-3120 · NVD
- FIRST EPSS
- GHSA-4p8q-p8qc-486x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences