Vulnerability · Published Aug 24, 2025 · Assigned by VulDB
CVE-2025-9386appneta tcpreplay tcprewrite get.c get_l2len_protocol use after free
Medium 5.3
In plain English
A medium-severity use-after-free in tcpreplay from appneta. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability has been found in appneta tcpreplay up to 4.5.1. The impacted element is the function get_l2len_protocol of the file get.c of the component tcprewrite. Such manipulation leads to use after free. The attack must be carried out locally. The exploit has been disclosed to the public and may be used. Upgrading to version 4.5.2-beta3 is sufficient to resolve this issue. You should upgrade the affected component.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tcpreplay | no fix listed | DEBIAN-CVE-2025-9386 |
| Debian:13 | tcpreplay | no fix listed | DEBIAN-CVE-2025-9386 |
| Debian:14 | tcpreplay | 4.5.2-1 | DEBIAN-CVE-2025-9386 |
| Ubuntu:25.10 | tcpreplay | no fix listed | UBUNTU-CVE-2025-9386 |
| Ubuntu:26.04:LTS | tcpreplay | no fix listed | UBUNTU-CVE-2025-9386 |
| Ubuntu:26.10 | tcpreplay | no fix listed | UBUNTU-CVE-2025-9386 |
Affected products (as reported)
Weakness: CWE-416, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-321219 | appneta tcpreplay tcprewrite get.c get_l2len_protocol use after free vdb-entry, technical-description
- VDB-321219 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #630498 | tcpreplay tcprewrite tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Use-After-Free third-party-advisory
- https://github.com/appneta/tcpreplay/issues/973 issue-tracking
- https://drive.google.com/file/d/1DcQWaTmj1HSbRidOCWwe9vtgHsBnFuX7/view?usp=sharing exploit