Vulnerabilities / CVE-2024-3119

critical

CVE-2024-3119

A buffer overflow vulnerability exists in all versions of sngrep since ...

Published Modified CWE 120, 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD.

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
debian 10sngrepno fix listed
debian 11sngrepno fix listed
debian 12sngrepno fix listed
debian 13sngrep1.8.1-1
debian 14sngrep1.8.1-1
echosngrep1.8.1-1
rapidfort debian 12sngrep0:1.8.1-1
rapidfort debian 13sngrep0:1.8.1-1
rapidfort ubuntu 20.04sngrep0:1.8.1-1
rapidfort ubuntu 22.04sngrep0:1.8.1-1
rapidfort ubuntu 24.04sngrep0:1.8.1-1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.