Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP 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 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 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-3119
- 2026-10-03 Alias added: GHSA-38jr-26cr-gjff
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-02922 Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-3119 · CVE Program
- CVE-2024-3119 · NVD
- FIRST EPSS
- GHSA-38jr-26cr-gjff · 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