Description
tcpflow before 1.7.0 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| simsong | tcpflow | ≤ 1.6.1 | 1.7.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tcpflow | No fix yet | — |
| Debian 13 | tcpflow | No fix yet | — |
| Debian 12 | tcpflow | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tcpflow | No fix yet | — |
| Ubuntu 26.04 LTS | tcpflow | No fix yet | — |
| Ubuntu 24.04 LTS | tcpflow | No fix yet | — |
| Ubuntu 22.04 LTS | tcpflow | No fix yet | — |
| Ubuntu 20.04 LTS | tcpflow | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | tcpflow | No fix yet | — |
| Ubuntu 16.04 LTS | tcpflow | No fix yet | — |
| Ubuntu Pro 14.04 LTS | tcpflow | No fix yet | — |
References
- https://github.com/simsong/tcpflow/issues/279 issue-tracking
- https://github.com/simsong/tcpflow/blob/tcpflow-1.6.1/src/tcpdemux.cpp#L781 technical-description
- https://github.com/simsong/tcpflow/blob/tcpflow-1.6.1/src/tcpdemux.cpp#L747 technical-description
- https://hackmd.io/@haindpwn/tcpflow-ip-payload-length-oob-read third-party-advisory
- https://github.com/simsong/tcpflow product
- VulnCheck Advisory: tcpflow through 1.6.1 Out-of-Bounds Read via TCP Demultiplexer Payload Length third-party-advisory
- Fixed Release Tag release-notes patch
- Pull Request issue-tracking patch