# CVE-2024-3119: Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep

- Severity: Critical 9.0 (CVSS:3.1, scored by Pentraze) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.80%, higher than 79% of CVEs (2026-12-01)
- Published: 2024-04-09T23:55:43.501Z
- Modified: 2026-06-17T07:43:20.840Z
- Weaknesses: CWE-120, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Pentraze

## 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.

(As written by CVE List.)

## Affected

- irontec sngrep: from 0.4.2 up to 1.8.0; from 0.4.2 before 1.8.1

## Every score

- Pentraze: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f> (patch)
- <https://github.com/irontec/sngrep/releases/tag/v1.8.1> (release-notes)
- <https://pentraze.com/vulnerability-reports/> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-3119](https://www.cve.org/CVERecord?id=CVE-2024-3119), CVE Terms of Use, modified 2024-08-08
- NVD: [CVE-2024-3119](https://nvd.nist.gov/vuln/detail/CVE-2024-3119), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-3119 · Whole record: https://cve.day/CVE-2024-3119.json · Rebuilt by cve.day 2026-11-25T22:58:39.011Z
