CVE-2025-9019: tcpreplay · Heap-based Buffer Overflow
Affects tcpreplaySource CVE Database V5
Not known to be exploited · CVSS 2.3 Low · fixed in 4.5.2 : update tcpreplay when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 65% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.5.2
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 15 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| tcpreplay | Affected
| Fixed in– |
AI-suggested
The primary mitigation is to upgrade tcpreplay to version 4.5.2 or later, where the vulnerability has been fixed. Organizations should audit their environments to identify any instances of tcpreplay 4.5.1 or earlier and prioritize patching or upgrading those systems. If upgrading is not immediately possible, restricting network access to systems running tcpreplay, especially limiting exposure to untrusted networks, can reduce attack surface. Employing network segmentation and firewall rules to isolate testing environments is recommended. Additionally, monitoring logs and network traffic for unusual activity related to tcpreplay usage can help detect potential exploitation attempts. Security teams should also review and harden user interaction workflows involving tcpreplay to minimize the risk of exploitation. Finally, maintaining an up-to-date inventory of network testing tools and applying security patches promptly will help prevent similar vulnerabilities from being exploited.
Description
A vulnerability has been found in tcpreplay 4.5.1. This vulnerability affects the function mask_cidr6 of the file cidr.c of the component tcpprep. The manipulation leads to heap-based buffer overflow. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The researcher is able to reproduce this with the latest official release 4.5.1 and the current master branch. The code maintainer cannot reproduce this for 4.5.2-beta1. In his reply the maintainer explains that "[i]n that case, this is a duplicate that was fixed in 4.5.2."
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- github.com/appneta/tcpreplay/issues/958 (opens in a new tab)
- github.com/appneta/tcpreplay/issues/958 (opens in a new tab)
- drive.google.com/file/d/13SQYVIb_YQoRfaJaaLf6iLtMiCRCHlBc/view?usp=sharing (opens in a new tab)
- github.com/appneta/tcpreplay/issues/959 (opens in a new tab)