CVE-2024-3119
Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.0
Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep
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.
- Record
CVE-2024-3119- 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 - Weakness
- CWE-120
- Updated
- 2026-11-02
EUVDEUVD-2024-31721
9.0
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.
- Record
EUVD-2024-31721- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-38jr-26cr-gjff
9.0
A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper...
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.
- Record
GHSA-38jr-26cr-gjff- 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 - Weakness
- CWE-120, CWE-787
- Updated
- 2026-11-02
NVD
9.0
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.
- Record
CVE-2024-3119- 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 - 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 - Weakness
- CWE-120, CWE-787
- Updated
- 2026-11-02
OSV
9.0
Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep
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.
- Record
CVE-2024-3119- 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 - Weakness
- CWE-120
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-3119
9.8
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.
- Record
DEBIAN-CVE-2024-3119- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-3119
9.0
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.
- Record
UBUNTU-CVE-2024-3119- 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 - 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 - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:0106-1 No score
Security update for sngrep
This update for sngrep fixes the following issues:
-
Update to version 1.8.1
- Fix CVE-2024-3119: sngrep: buffer overflow due to improper handling of 'Call-ID' and 'X-Call-ID' SIP headers.
- Fix CVE-2024-3120: sngrep: stack-buffer overflow due to inadequate bounds checking when copying 'Content-Length' and 'Warning' headers into fixed-size buffers.
-
Update to versino 1.8.0
- fix typo in message, thanks to lintian.
- fix compiler warnings about unused variables.
- Fixed a typo in comment line in filter.c
- Redefine usage of POSIX signals.
- Support for building sngrep using CMake added.
-
Update to version 1.7.0
- save: add option --text to save captured data to plain text
- capture: fix memory overflows while parsing IP headers
- hep: fix hep listener enabled in offline mode
- core: stop sngrep when parent process has ended
- ssl: fix decrypt with AES256 GCM SHA384 cipher
- Record
openSUSE-SU-2024:0106-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13856-1 No score
sngrep-1.8.1-1.1 on GA media
These are all security issues fixed in the sngrep-1.8.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13856-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sngrepDebian:12 |
All versions, plus listed versions 1.6.0-11.7.0-11.7.0-21.7.0-2~bpo12+11.8.0-1 Show 9 moreShow less1.8.1-11.8.2-11.8.2-1~bpo12+11.8.3-11.8.3-1~bpo13+11.8.4-11.8.4-1~bpo13+11.8.4-21.9.0-1 |
None known |
sngrepDebian:13 |
before 1.8.1-1 | 1.8.1-1 |
sngrepDebian:14 |
before 1.8.1-1 | 1.8.1-1 |
sngrepUbuntu:16.04:LTS |
All versions, plus listed versions 0.4.1-11.0.0-11.1.0-11.2.0-11.2.0-1build1 |
None known |
sngrepUbuntu:18.04:LTS |
All versions, plus listed versions 1.4.3-11.4.4-11.4.4-21.4.5-1 |
None known |
sngrepUbuntu:20.04:LTS |
All versions, plus listed versions 1.4.6-11.4.6-2 |
None known |
sngrepUbuntu:22.04:LTS |
All versions, plus listed versions 1.4.9-11.4.10-11.4.10-1ubuntu0.1 |
None known |
sngrepUbuntu:24.04:LTS |
All versions, plus listed versions 1.7.0-21.8.0-11.8.0-1build11.8.0-1build2 |
None known |
sngrepUbuntu:25.10 |
All versions, plus listed versions 1.8.2-1 |
None known |
sngrepUbuntu:26.10 |
All versions, plus listed versions 1.8.3-11.8.4-1 |
None known |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
sngrepUbuntu:26.04:LTS |
All versions, plus listed versions 1.8.2-11.8.3-1 |
None known |
sngrepSUSE:Package Hub 15 SP5 |
before 1.8.1-bp155.2.3.1 | 1.8.1-bp155.2.3.1 |
sngrepopenSUSE:Leap 15.5 |
before 1.8.1-bp155.2.3.1 | 1.8.1-bp155.2.3.1 |
sngrepopenSUSE:Tumbleweed |
before 1.8.1-1.1 | 1.8.1-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-3119 is a critical vulnerability (CVSS 9.0) in Irontec Sngrep, published April 9, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.80%, the 78th percentile. Fixed in sngrep 1.8.1-1.
References
github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f
github.com/irontec/sngrep/releases/tag/v1.8.1
pentraze.com/vulnerability-reports
nvd.nist.gov/vuln/detail/CVE-2024-3119
github.com/advisories/GHSA-38jr-26cr-gjff
github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3119.json