
CVE catalog
CVE-2024-3120
sngrep: CVE-2024-3120
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.85% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | sngrep | sid | 1.9.0-1 | fixed |
| Debian | sngrep | forky | 1.9.0-1 | fixed |
| Debian | sngrep | trixie | 1.8.2-1 | fixed |
| Debian | sngrep | bookworm | 1.6.0-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sngrep | source | sid | 1.8.1-1 | not yet assigned | Not reported | [1068818] |
| Debian | sngrep | source | forky | 1.8.1-1 | not yet assigned | Not reported | [1068818] |
| Debian | sngrep | source | trixie | 1.8.1-1 | not yet assigned | Not reported | [1068818] |
| Debian | sngrep | source | bookworm | (unfixed) | not yet assigned | Not reported | [1068818] |
Notes
[bookworm] sngrep: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_0106-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-3120]
- [https://security-tracker.debian.org/tracker/CVE-2024-3120]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]