Read the docs
TI-2024-02921 Aliases CVE-2024-3119GHSA-38jr-26cr-gjff

Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep

Priority MEDIUM 46CWE-120Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.018 78th percentileScored 2026-11-08
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
irontecsngrep0.4.2 – 1.8.0—No fix listedCNA
  • sngrep Vendorirontec Affected 0.4.2 – 1.8.0 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*0.4.2 to before 1.8.1Vulnerableirontec
  • cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:* Versions 0.4.2 to before 1.8.1 Vulnerable ·irontec

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-3119
  2. 2026-10-03 Alias added: GHSA-38jr-26cr-gjff

References

  • 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