Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject crafted IPv4/IPv6 TCP packets into captured traffic or pcap
-
ExploitForge inconsistent IP payload length field
-
ExecutionTrigger out-of-bounds read in TCP demultiplexer
-
ImpactLeak 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
An issue was discovered in wifipcap/wifipcap.cpp in TCPFLOW through 1.5.0-alpha. Rated critical severity (CVSS 9.1), thi
Denial-of-service attacks against tcpflow up to version 1.61 are possible via malformed 802.11 management frames that tr
A stack-based buffer over-read exists in setbit() at iptree.h of TCPFLOW 1.5.0, due to received incorrect values causing
EUVD-2026-113937
GHSA-rjcg-fcj6-3hq4
NVD
CVE.org
EPSS
Exploit-DB