CVE catalog

CVE-2024-3120

sngrep: CVE-2024-3120

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS: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.

DistributionPackageReleaseVersionStatus
Debiansngrepsid1.9.0-1fixed
Debiansngrepforky1.9.0-1fixed
Debiansngreptrixie1.8.2-1fixed
Debiansngrepbookworm1.6.0-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansngrepsourcesid1.8.1-1not yet assignedNot reported[1068818]
Debiansngrepsourceforky1.8.1-1not yet assignedNot reported[1068818]
Debiansngrepsourcetrixie1.8.1-1not yet assignedNot reported[1068818]
Debiansngrepsourcebookworm(unfixed)not yet assignedNot reported[1068818]

[Debian bug #1068818]

Notes

[bookworm] sngrep: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References