Out-of-bounds write in Tcpreplay - #VU139399

 

Out-of-bounds write in Tcpreplay - #VU139399

Published: July 27, 2026


Vulnerability identifier: #VU139399
CSH Severity: High
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service and potentially execute arbitrary code.

The vulnerability exists due to out-of-bounds write in ARP-rewriting routines in src/tcpedit/edit_packet.c when processing an attacker-supplied pcap file with IP rewrite or randomization options enabled. A remote attacker can trick the victim into processing a crafted pcap file to cause a denial of service and potentially execute arbitrary code.

User interaction is required to process the crafted pcap file, and exploitation was confirmed via tcpreplay/tcpreplay-edit with --preload-pcap enabled.


Affected software

Tcpreplay

Remediation

Install security update from vendor's website.

Tcpreplay - update to 4.6.0 beta3

External References

Related Security Bulletins