Skip to main content

sngrep CVE-2026-121944

| EUVDEUVD-2026-116901 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-11-04 VulnCheck GHSA-5wr4-785p-23qx
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted NFLOG pcap to analyst
  2. Exploit
    Victim opens file in sngrep
  3. Execution
    Malformed TLV (length under 4) triggers reassembly loop
  4. Impact
    Capture thread spins at 100% CPU, processing halts

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires the victim to load, in sngrep version ≤1.9.0, a pcap file whose link type is NFLOG and that contains a non-payload TLV with a length field under 4 - that malformed-length TLV is the exact trigger for the infinite loop in capture_packet_reasm_ip(). Limiting factors that reduce realistic risk: the vector is local (AV:L), so the attacker cannot exploit this remotely and must first deliver the malicious capture file; successful exploitation depends on the victim actually opening/processing that file in sngrep (UI:P); and the impact is confined to denial of service (capture thread spins at full CPU and stops processing packets), with no confidentiality or integrity effect and no code execution.

Impact

All signals point to a moderate, bounded risk rather than an urgent priority. The CVSS 4.0 vector (CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H, score 6.8) is availability-only - no confidentiality or integrity impact - and critically uses a LOCAL attack vector with passive user interaction (UI:P), meaning the attacker cannot reach this over the network; they must get a crafted pcap file onto the victim's system and have the victim open it in sngrep. The vuln.today Decision label is 'this_month', not act_now or emergency, consistent with a DoS-only defect in a specialist tool. No EPSS score and no KEV listing were provided, so there is no evidence of active or widespread exploitation. A public writeup/PoC reference is linked, but it is not verified as working exploit code for this specific infinite loop (and one linked hackmd writeup actually describes a separate OOB-read issue, not this loop). Net: a real but low-urgency DoS affecting a niche analyst tool - the low attack vector and required user interaction substantially cap real-world exposure, so this is a this-month patch item, not a fire drill.

Exploit ScenarioDerived

An attacker crafts a pcap file with NFLOG link type containing a non-payload TLV whose length field is under 4, then delivers it to a VoIP/SIP engineer - for example as a 'capture to please analyze.' When the victim opens it in sngrep (≤1.9.0), capture_packet_reasm_ip() enters an infinite loop, pinning the capture thread at 100% CPU and halting all further packet processing. A public PoC/writeup reference exists but is not verified as working exploit code for this loop.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 04, 2026

An infinite loop in capture_packet_reasm_ip() in src/capture.c makes sngrep 1.9.0 and earlier spin a capture thread at full CPU and stop processing packets when it opens a pcap file whose link type is NFLOG and that carries a non-payload TLV with a length field under 4. The CVSS 4.0 score of 6.8 and the assessed 3.1 vector (AV:L/AC:L/PR:N/UI:R, availability-only impact) reflect a local, availability-only denial of service: the attacker must first deliver the malformed capture and the victim must open it (UI:P), and there is no confidentiality or integrity effect and no code execution. No CISA KEV entry or confirmed working exploit code is associated with this issue; a public upstream issue report and a write-up reference exist but are not verified as working exploit code, and the priority signal places remediation in the normal monthly cycle rather than an emergency response.

RemediationAI

No vendor-released patched version is identified in the available data, so the primary action is to track https://github.com/irontec/sngrep/issues/589 for a fixed release and upgrade once it is published; installations pinned at 1.9.0 or earlier remain exposed. Because the trigger is entirely a property of a loaded capture file with NFLOG link type containing a non-payload TLV shorter than 4 bytes, exposure can be bounded in the interim by not opening untrusted or externally supplied pcap files in sngrep, and by sanitizing such files before analysis (for example converting NFLOG captures to another link type or re-exporting only the packet payloads with a separate tool) - a measure that removes the vulnerable parsing path but also discards the netfilter metadata the file carried. Operators who must handle untrusted captures should watch for a capture thread pinned at 100% CPU with packet processing stalled, which is the observable signature of the loop and warrants terminating the process; no other vendor mitigation is documented in the referenced sources.

Affected VersionsENISA

sngrep 0 ≤1.9.0

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 is an ncurses-based terminal tool from Irontec for capturing and displaying SIP traffic, and it can also replay packet captures from files. Its reassembly path in src/capture.c (lines 581-598 at tag v1.9.0, per the linked source reference) walks the TLVs of NFLOG-encapsulated packets, the Linux netfilter logging format that carries packet metadata and payload as type-length-value records. The defect is CWE-835, an infinite loop with an unreachable exit condition: when a non-payload TLV declares a length under 4, the parsing routine fails to make progress and the capture thread loops indefinitely, pegging a CPU core and ceasing to process further packets. The advisory does not elaborate beyond the malformed-length trigger, and the sources do not describe any other deployment mode or code path affected; the flaw is reachable only through a loaded capture file with NFLOG link type, not through ordinary live SIP capture in the documented trigger.

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 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Victim must open a crafted pcap locally (AV:L, UI:R); no privileges needed (PR:N); only availability is affected via a CPU-spin DoS (A:H), with no confidentiality or integrity impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

sngrep through 1.9.0 contains an infinite loop vulnerability in capture_packet_reasm_ip() in src/capture.c that allows attackers to cause denial of service via crafted NFLOG TLVs. Attackers can supply a pcap file with link type NFLOG containing a non-payload TLV with length under 4, making the capture thread spin at full CPU and stop processing packets.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Low
niche SIP/VoIP terminal packet analyzer used by telecom engineers
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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