Vulnerability · Published Aug 15, 2025 · Assigned by VulDB
CVE-2025-9019tcpreplay tcpprep cidr.c mask_cidr6 heap-based overflow
Low 3.1
In plain English
A low-severity heap buffer overflow in tcpreplay. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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."
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tcpreplay | no fix listed | DEBIAN-CVE-2025-9019 |
| Debian:13 | tcpreplay | no fix listed | DEBIAN-CVE-2025-9019 |
| Debian:14 | tcpreplay | 4.5.2-1 | DEBIAN-CVE-2025-9019 |
| Ubuntu:25.10 | tcpreplay | no fix listed | UBUNTU-CVE-2025-9019 |
| Ubuntu:26.04:LTS | tcpreplay | no fix listed | UBUNTU-CVE-2025-9019 |
| Ubuntu:26.10 | tcpreplay | no fix listed | UBUNTU-CVE-2025-9019 |
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:X/RC:C
References
- VDB-320080 | tcpreplay tcpprep cidr.c mask_cidr6 heap-based overflow vdb-entry, technical-description
- VDB-320080 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #623635 | tcpreplay tcpprep tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Heap Buffer Overflow third-party-advisory
- Submit #623636 | tcpreplay tcpprep tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Heap Buffer Overflow (Duplicate) third-party-advisory
- Submit #623637 | tcpreplay tcpprep tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Heap Buffer Overflow (Duplicate) third-party-advisory
- Submit #623638 | tcpreplay tcpprep tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Heap Buffer Overflow (Duplicate) third-party-advisory
- Submit #623639 | tcpreplay tcpprep tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Heap Buffer Overflow (Duplicate) third-party-advisory
- https://github.com/appneta/tcpreplay/issues/958 issue-tracking
- https://github.com/appneta/tcpreplay/issues/958#issuecomment-3124876035 issue-tracking
- https://drive.google.com/file/d/13SQYVIb_YQoRfaJaaLf6iLtMiCRCHlBc/view?usp=sharing exploit
- https://github.com/appneta/tcpreplay/issues/959 issue-tracking