Skip to main content

sngrep EUVDEUVD-2026-76903

| CVE-2026-90558 CRITICAL
Stack-based Buffer Overflow (CWE-121)
2026-09-12 VulnCheck GHSA-5vq7-hmwf-89w5
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted SIP packet with oversized header
  2. Delivery
    sngrep captures packet from network interface
  3. Exploit
    sprintf copies header without length limit
  4. Execution
    255-byte stack buffer overflows
  5. Persist
    overwrite return address on stack
  6. Impact
    execute arbitrary code as sngrep process user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

sngrep must be actively running and capturing SIP traffic on a network interface. The attacker must be able to route SIP packets onto the monitored network segment or inject them into the SIP traffic stream that sngrep is observing - for example, via network adjacency, a shared SIP proxy or PBX, or a man-in-the-middle position on the capture path. No authentication to sngrep is required since it is a passive capture tool with no authentication layer. Any of the following SIP header fields exceeding 255 bytes triggers the overflow: Call-ID, X-Call-ID, Reason, From, To, Contact, or the request/response line. Exploitation is bounded to environments where sngrep is deployed and actively in use; hosts that have not installed sngrep are unaffected.

Impact

The CVSS 4.0 score of 9.3 accurately reflects the low exploitation barrier: the attack requires no authentication, no user interaction, and no unusual configuration - only that sngrep be running and monitoring a network interface reachable by the attacker. The full C:H/I:H/VA:H impact ratings are plausible given that a stack buffer overflow with attacker-controlled overflow content can redirect execution to arbitrary shellcode. No EPSS score is provided in the input, and KEV status is absent, so no confirmed active exploitation is known. However, the public fix commit exposes the exact vulnerable code paths and the boundary condition, lowering the bar for exploit development significantly. The primary real-world constraint is deployment context: sngrep is a passive capture tool, so exploitation requires the attacker to be able to inject SIP packets into the traffic stream that sngrep is monitoring - either via network adjacency, a shared SIP proxy, or traffic injection. This is a realistic threat in any multi-tenant VoIP environment, carrier infrastructure, or enterprise telephony deployment. Operators running sngrep in production capture environments should treat this as high priority given the combination of low exploit complexity and high impact, even in the absence of confirmed in-the-wild exploitation.

Exploit ScenarioDerived

An attacker sharing a network segment with a running sngrep instance sends a crafted SIP INVITE packet containing a Call-ID header padded to several hundred bytes. When sngrep captures and parses the packet, call_get_attribute() calls sprintf(value, "%s", call->callid), copying the oversized value onto a 255-byte stack buffer and overwriting the saved return address. The attacker controls the overflow payload to redirect execution to injected shellcode or a ROP chain, achieving arbitrary code execution as the user running sngrep.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 12, 2026

Stack buffer overflows in sngrep through 1.8.4 allow unauthenticated remote attackers to crash or execute arbitrary code on any host running sngrep while actively capturing SIP traffic. The flaws reside in call_get_attribute() (src/sip_call.c) and msg_get_attribute() (src/sip_msg.c), where unbounded sprintf calls copy SIP header values - including Call-ID, X-Call-ID, Reason, From, To, Contact, and request/response strings - into a fixed 255-byte stack buffer without length enforcement. No public exploit code or CISA KEV listing has been identified at time of analysis, but the upstream fix commit is publicly accessible, making independent weaponization feasible.

RemediationAI

Apply the upstream fix from commit 1ff74ee3ab5ff280e8ba976aa8c744dca57eb35b (https://github.com/irontec/sngrep/commit/1ff74ee3ab5ff280e8ba976aa8c744dca57eb35b), which patches all affected sprintf calls in both src/sip_call.c and src/sip_msg.c to enforce truncation at SIP_ATTR_MAXLEN - 1 bytes. No tagged release version incorporating this fix has been confirmed in the provided references; administrators should build from the patched commit or monitor the sngrep GitHub repository for an official post-1.8.4 release. As an interim compensating control, restrict SIP traffic to the monitored interface using firewall or ACL rules so that only packets from trusted SIP infrastructure (known proxies, PBXes, or endpoints) reach the capture interface, reducing the pool of attackers who can inject malicious headers. Additionally, running sngrep under a restricted user account with a seccomp profile or within a container limits the impact of successful exploitation to the sngrep process context rather than the full host. Consult the VulnCheck advisory for any updated patch guidance.

Affected VersionsENISA

sngrep 0 ≤1.8.4

Affected Packages

euvd sngrep no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

sngrep (CPE: cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*) is an open-source terminal-based SIP packet capture and call-flow visualization tool by Irontec, used widely by VoIP engineers to debug real-time SIP sessions. The vulnerability class is CWE-121 (Stack-based Buffer Overflow), occurring in two attribute-formatting functions that format parsed SIP header values for display. In both call_get_attribute() in src/sip_call.c and msg_get_attribute() in src/sip_msg.c, the code uses sprintf(value, "%s", src) without bounds checking, where value is a stack-allocated buffer constrained to SIP_ATTR_MAXLEN (255 bytes). Any SIP header field - Call-ID, X-Call-ID, Reason, From, To, Contact, or the request/response line - exceeding 255 bytes causes stack corruption when sngrep processes the packet for display. The commit diff at 1ff74ee3ab5ff280e8ba976aa8c744dca57eb35b confirms the fix by replacing all affected sprintf calls with bounded sprintf(value, "%.*s", SIP_ATTR_MAXLEN - 1, src), enforcing truncation before the overflow occurs.

Know when Sngrep gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

Network-exploitable via crafted SIP packets with no authentication or user interaction; scope unchanged as sngrep is a single userspace process with no privilege boundary crossed.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE CRITICAL
Red Hat CRITICAL

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Stack buffer overflows in sngrep 1.8.4 and earlier enable unauthenticated remote attackers to execute arbitrary code on servers actively monitoring SIP traffic, directly compromising voice and communications infrastructure. Organizations running sngrep for SIP packet capture-common in telecom, contact centers, and VoIP monitoring-face immediate risk of system takeover and potential lateral movement to core telecommunications systems.

Business Impact: Severe
Compensating Controls

Apply vendor patch. Disable active SIP capture operations until patches are deployed if immediate patching is not feasible.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
niche VoIP SIP traffic diagnostic tool, not general enterprise software
Social Media
6
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy