ZeroHour

CVE-2026-90558

moderate

Stack Buffer Overflow in sngrep Through 1.8.4 via Oversized SIP Header Fields

CVSS 4.0
9.3 critical
EPSS
Published
()
Modified
AI analysis

sngrep, an open-source terminal tool used by VoIP administrators to capture and inspect live SIP traffic, contains stack buffer overflows (CWE-121) in its SIP attribute formatting routines: header values longer than a fixed 255-byte buffer, such as oversized Call-ID or X-Call-ID fields, are copied without adequate bounds checks. The flaw is triggered when the tool parses and renders a maliciously crafted SIP packet that traverses a network segment where sngrep is actively capturing, requiring no privileges or victim interaction beyond a running capture session. Successful exploitation can crash the tool or execute arbitrary code in the context of the analyst running it, potentially exposing the captured call traffic and SIP credentials held in that session. All deployments of sngrep through version 1.8.4 are affected. No public proof of concept or in-the-wild exploitation is known, and the CVE is not on CISA's KEV list.

What to do: Treat every sngrep release through 1.8.4 as vulnerable and plan to upgrade to the first fixed release published by the maintainers. Until a patch ships, run captures only on trusted internal segments with BPF capture filters restricted to known SIP peers (remember that internet-sourced SIP scans can carry hostile oversized headers onto monitored segments), and run sngrep under an unprivileged account to limit the impact of any code execution. Check historical capture hosts for unexplained sngrep crashes as a possible indicator of attempted exploitation.

Affected
Irontec sngrepAll versions up to and including 1.8.4
Estimated exposure
moderateOn the order of tens of thousands of installations; the effectively attackable population at any moment (active capture sessions) is far smaller — sngrep is packaged in major Linux distribution repositories and is a popular troubleshooting tool in the VoIP/telecom community, but it is an on-demand terminal utility with no public install telemetry and no internet-exposed footprint…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

sngrep through 1.8.4 contains stack buffer overflow vulnerabilities in SIP attribute formatting routines when header values exceed the 255-byte buffer limit. Attackers can craft malicious SIP packets with oversized Call-ID, X-Call-ID, or other header fields to overflow stack buffers and cause crashes or execute arbitrary code during packet parsing and rendering.

Weakness
CWE-121
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.