Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-3119: A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of 'Ca

56
This month
CRITICAL 9.0REMOTEUPGRADE

CVE-2024-3119 is a critical-severity flaw (CVSS 9.0) affecting sngrep. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.0 (Critical)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance1.8% (top 22%)
CISA exploited listNo
WeaknessCWE-120, CWE-787
Published2024-04-10
Last modified2026-06-17
Publisher (CNA): Pentraze · Vendor: irontec

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

irontec sngrep UPGRADE
Affected: >= 0.4.2 and < 1.8.1
Fixed in: 1.8.1
Safe to downgrade to: a release before 0.4.2
1. Check installed version
apt-cache policy sngrep || rpm -q sngrep || sngrep --version
2. UPGRADE to 1.8.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade sngrep
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade sngrep
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 0.4.2 (Debian / Ubuntu)
apt-cache madison sngrep sudo apt install sngrep=<VERSION_BEFORE_0.4.2> sudo apt-mark hold sngrep
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list sngrep sudo dnf downgrade sngrep-<VERSION_BEFORE_0.4.2> sudo dnf versionlock add sngrep
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-3119?

sngrep: upgrade to 1.8.1. Exact commands for each OS are on this page.

Is CVE-2024-3119 being exploited?

CVE-2024-3119 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-3119 affect?

CVE-2024-3119 affects sngrep. Severity is critical (CVSS 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 hea

How urgent is CVE-2024-3119?

Priority 56/100. Critical severity; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.