Description
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.
Published: 2026-11-04
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Check for Updates
AI Analysis

Impact

sngrep up to version 1.9.0 contains an infinite loop in capture_packet_reasm_ip(), which can be triggered by feeding a pcap file that contains NFLOG TLVs with a non‑payload TLV length shorter than four bytes. The loop consumes the CPU continuously, halting normal packet processing and effectively denying service to any process or system that relies on sngrep for monitoring or diagnostics. This weakness is classified as CWE-835, reflecting improper loop control that leads to resource exhaustion.

Affected Systems

Irontec sngrep, any distribution or environment using sngrep 1.9.0 or earlier, regardless of operating system, is susceptible. The vulnerability arises whenever the NFLOG link type is processed by sngrep; therefore any installation that enables NFLOG capture is at risk.

Risk and Exploitability

The CVSS score of 6.8 indicates a medium severity. EPSS is not available and the issue is not listed in the CISA KEV catalog, suggesting low publicly reported exploitation but the attack remains feasible. The likely attack vector is local—an attacker who can supply a custom pcap file to sngrep, or who can control the sngrep process, can immediately trigger the loop. Exploitation requires no network connectivity beyond the ability to invoke sngrep with a crafted file, and causes the capture thread to spin at full CPU, bringing system resources to a halt.

Generated by OpenCVE AI on November 4, 2026 at 14:04 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check for updates from Irontec for sngrep or install a newer version that addresses the loop
  • If an upgrade is not possible, configure sngrep to exclude NFLOG as a capture source or remove NFLOG support entirely
  • As a temporary safeguard, restrict the CPU usage of the sngrep process or run it in a sandboxed environment to limit the impact of a potential loop

Generated by OpenCVE AI on November 4, 2026 at 14:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Nov 2026 12:45:00 +0000

Type Values Removed Values Added
Description 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.
Title sngrep through 1.9.0 Infinite Loop DoS via Crafted NFLOG TLV
First Time appeared Irontec
Irontec sngrep
Weaknesses CWE-835
CPEs cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*
Vendors & Products Irontec
Irontec sngrep
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-04T12:31:21.803Z

Reserved: 2026-11-04T12:05:51.303Z

Link: CVE-2026-121944

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-04T13:17:29.123

Modified: 2026-11-04T13:17:29.253

Link: CVE-2026-121944

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-04T14:15:15Z

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')