Skip to content
Fencer Vulns
critical 9.0

CVE-2024-3120 json

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

published 2024-04-09 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-31722

cvss
9.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.8%
EPSS 1.8% chance of exploitation in 30 days, percentile 79%
public exploits
0
none known

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.

Patch / fix

  • irontec sngrep 1.8.1
  • sngrep Debian 14, Debian 13 1.8.1-1

debian advisories DEBIAN-CVE-2024-3120

  • sngrep openSUSE Tumbleweed 1.8.1-1.1
  • sngrep Package Hub 15 SP5, openSUSE Leap 15.5 1.8.1-bp155.2.3.1

opensuse advisories openSUSE-SU-2024:13856-1openSUSE-SU-2024:0106-1

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

1.84% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 9.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • irontec sngrep

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input
  • CWE-787 Out-of-bounds Write

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.