Skip to main content

tcpflow CVE-2026-119600

| EUVDEUVD-2026-113937 MEDIUM
Improper Handling of Length Parameter Inconsistency (CWE-130)
2026-10-30 VulnCheck GHSA-rjcg-fcj6-3hq4
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Inject crafted IPv4/IPv6 TCP packets into captured traffic or pcap
  2. Exploit
    Forge inconsistent IP payload length field
  3. Execution
    Trigger out-of-bounds read in TCP demultiplexer
  4. Impact
    Leak adjacent process memory into flow files or crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Length parameter validation
Exploitation Conditions

Exploitation requires that tcpflow (through 1.6.1) actually process attacker-influenced data: either the attacker can inject crafted IPv4/IPv6 TCP packets into network traffic that a tcpflow instance is live-capturing, or the attacker supplies a malicious pcap file that an operator runs tcpflow against. The specific trigger is a TCP packet whose IP payload-length field is forged to be inconsistent with the actual packet size, causing the demultiplexer (tcpdemux.cpp around lines 747/781) to read out of bounds. This matches the CVSS AT:P attack-requirement: the flaw is unauthenticated (PR:N) and needs no victim UI, but it is not self-triggering - someone must be running tcpflow over the attacker-reachable traffic or file. That dependency on an operator capturing/processing adversary data is the primary limiting factor; impact is further limited to leaking adjacent memory into output flow files or crashing the tool.

Impact

This is a medium-severity information-disclosure/denial issue, not a top-priority emergency. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L) scores 6.3 and is internally consistent with the description: unauthenticated, low-complexity, but carrying an attack requirement (AT:P) - the attacker cannot act alone, they must get crafted packets into traffic that a tcpflow operator is capturing or into a pcap that gets processed. Impact is bounded: low confidentiality (adjacent process memory leaked into reconstructed flow files) and low availability (crash), with no integrity impact. No EPSS score was provided, so exploitation probability cannot be quantified. The vuln is NOT on CISA KEV, so there is no confirmed active exploitation, and the vuln.today priority is 'this_month' rather than act_now/emergency - consistent with a real-but-contained issue. A public PoC reference exists (the hackmd write-up) but it is not verified as working exploit code. The main risk driver is that tcpflow is a forensics/capture tool often pointed at untrusted or adversary-influenced traffic, which is exactly the AT:P precondition; however, the limited technical impact and niche deployment keep real-world risk modest. Net: patch on a normal cycle, not a drop-everything event.

Exploit ScenarioDerived

An attacker who can place packets on a network segment being captured by tcpflow (or who supplies a crafted pcap to an analyst) sends IPv4/IPv6 TCP packets with forged IP payload-length fields. When tcpflow's TCP demultiplexer trusts the forged length, it reads past the real packet buffer, leaking adjacent process memory into the reconstructed flow output files or crashing the tool. A public PoC reference exists (hackmd write-up) but is not verified as working exploit code.

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

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

Alert me

AnalysisAIv1 – Oct 30, 2026

Out-of-bounds memory read in tcpflow through 1.6.1 allows unauthenticated remote attackers to leak process memory into reconstructed flow files or crash the tool by supplying TCP packets whose IP payload-length field is forged to disagree with the actual packet size. The flaw is reachable in two ways: injecting crafted IPv4 or IPv6 TCP packets into traffic a tcpflow instance is capturing live, or handing an operator a malicious pcap file to process; both require that someone actually runs tcpflow over the attacker-influenced input, which is the primary limiting factor (CVSS 4.0 AT:P, 6.3 medium; independently assessed as CVSS 3.1 6.3 with low confidentiality and low availability impact only). Exploitation is not confirmed in the wild and no CISA KEV entry exists; a public technical writeup describing the payload-length forgery is referenced, but it is not verified as working exploit code, and the vuln.today priority decision is this_month rather than immediate action.

RemediationAI

No vendor-released patch is identified in the available data - tcpflow 1.6.1 is the latest version covered by the CPE range and no fixed version number is published - so track https://github.com/simsong/tcpflow/issues/279 and the project repository at https://github.com/simsong/tcpflow for a fix commit or a release after 1.6.1 and upgrade as soon as one appears (upstream fix, when it lands, is expected to add a length-consistency check in src/tcpdemux.cpp around lines 747 and 781). Until then, the practical compensating controls follow directly from the trigger condition: process only pcaps and capture only traffic from sources you trust, since a malformed pcap handed to tcpflow or crafted packets on a monitored segment are the only ways to reach the bug; where capture is required on untrusted segments, restrict who can write to the capture interface and pre-filter with BPF expressions that narrow the traffic reaching the demultiplexer, at the cost of losing visibility into the excluded protocols. Run tcpflow in a sandboxed container or dedicated analysis VM with no secrets in its address space and with output directories treated as potentially sensitive, because leaked process memory can be written into the reconstructed flow files - this does not prevent the crash or the leak but bounds what can be disclosed. Lowering privileges or isolating the analysis host also limits the blast radius of a crash. Expect a malformed-length packet to terminate the process, so supervise long-running capture jobs and cap their restart/retry behavior to avoid a trivial denial-of-service loop, and validate flow output before sharing it outside the analysis environment.

Affected VersionsENISA

tcpflow 0 ≤1.6.1

Affected Packages

euvd tcpflow 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

tcpflow is a network forensics and traffic-analysis tool that reassembles TCP streams and writes each flow to a file. The defect is classed as CWE-130 (Improper Handling of Length Parameter Inconsistency): the TCP demultiplexer in src/tcpdemux.cpp (referenced locations around lines 747 and 781 in the tcpflow-1.6.1 tag) derives buffer offsets from the IP-level payload length carried in the packet header rather than validating it against the bytes actually captured, so a packet whose declared length is inconsistent with its real size causes reads past the end of the captured buffer. Because the leaked bytes are placed into the reconstructed per-flow output files, the exposure is not just a crash - memory adjacent to the packet buffer can end up written to disk in the flow artifacts, and the same malformed input can terminate the process (low confidentiality plus low availability impact, no integrity or scope change). The relevant header fields differ by family (IPv4 total length versus the IPv6 payload length field), which is why both IPv4 and IPv6 TCP packets are listed as vectors. The CPE range cpe:2.3:a:simsong:tcpflow:*:*:*:*:*:*:*:* covers the project's releases up to and including 1.6.1; no later fixed release is identified in the available data.

Know when Tcpflow 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.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Unauthenticated network-reachable crafted packets (AV:N/AC:L/PR:N/UI:N); impact limited to memory disclosure (C:L) and crash (A:L) with no integrity effect.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

tcpflow through 1.6.1 contains an out-of-bounds read vulnerability that allows unauthenticated attackers to read process memory by sending packets with forged IP payload lengths. Attackers can inject crafted IPv4 or IPv6 TCP packets into captured traffic or pcap files to leak adjacent memory into reconstructed flow files or crash tcpflow.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
niche open-source network forensics tool, limited production footprint
Data Quality
4 sources
Confidence: Medium

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.4%
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

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