Read the docs
TI-2024-02922 Aliases CVE-2024-3120GHSA-4p8q-p8qc-486x

Stack-Buffer Overflow in 'Content-Length' and 'Warning' Header Processing in sngrep

Priority MEDIUM 47CWE-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 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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01838 79th percentileScored 2026-11-07
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
irontecsngrep1.4.1 – 1.8.0—No fix listedCNA
  • sngrep Vendorirontec Affected 1.4.1 – 1.8.0 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*1.4.1 to before 1.8.1Vulnerableirontec
  • cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:* Versions 1.4.1 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-3120
  2. 2026-10-03 Alias added: GHSA-4p8q-p8qc-486x

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-02921 Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep CVSS 3.1CRITICAL 9.8

Sources