CVE-2025-9157 appneta tcpreplay tcprewrite edit_packet.c untrunc_packet use after free
MediumCVSS 4.8
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
A vulnerability was determined in appneta tcpreplay up to 4.5.2-beta2. The impacted element is the function untrunc_packet of the file src/tcpedit/edit_packet.c of the component tcprewrite. Executing manipulation can lead to use after free. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. This patch is called 73008f261f1cdf7a1087dc8759115242696d35da. Applying a patch is advised to resolve this issue.
Upgrade path
8 packages: 1 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/tcpreplay(Debian 12) | = 4.4.3-1; = 4.4.4-1; = 4.5.1-1; = 4.5.2-1 +3 more | No fix listed | No fix yet |
| debian/tcpreplay(Debian 13) | = 4.5.1-1; = 4.5.2-1; = 4.5.3-1; = 4.5.4-1 +1 more | No fix listed | No fix yet |
| ubuntu/tcpreplay(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/tcpreplay(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/tcpreplay(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/tcpreplay(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/tcpreplay(Debian 14) | < 4.5.2-1; = 4.5.1-1 | 4.5.2-1 | Fixed |
| appneta tcpreplay | = 4.5.2-beta1; = 4.5.2-beta2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/tcpreplay(Debian:12) | All versions | No fix listed |
| debian/tcpreplay(Debian:12) | = 4.4.3-1 | No fix listed |
| debian/tcpreplay(Debian:12) | = 4.4.4-1 | No fix listed |
| debian/tcpreplay(Debian:12) | = 4.5.1-1 | No fix listed |
| debian/tcpreplay(Debian:12) | = 4.5.2-1 | No fix listed |
| debian/tcpreplay(Debian:12) | = 4.5.3-1 | No fix listed |
| debian/tcpreplay(Debian:12) | = 4.5.4-1 | No fix listed |
| debian/tcpreplay(Debian:13) | All versions | No fix listed |
| debian/tcpreplay(Debian:13) | = 4.5.1-1 | No fix listed |
| debian/tcpreplay(Debian:13) | = 4.5.2-1 | No fix listed |
| debian/tcpreplay(Debian:13) | = 4.5.3-1 | No fix listed |
| debian/tcpreplay(Debian:13) | = 4.5.4-1 | No fix listed |
| debian/tcpreplay(Debian:14) | < 4.5.2-1 | 4.5.2-1 |
| debian/tcpreplay(Debian:14) | = 4.5.1-1 | No fix listed |
| appneta tcpreplay | = 4.5.2-beta1 | No fix listed |
| appneta tcpreplay | = 4.5.2-beta2 | No fix listed |
| ubuntu/tcpreplay(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/tcpreplay(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/tcpreplay(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/tcpreplay(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2025-9157 vendor-advisory
- VDB-320537 | appneta tcpreplay tcprewrite edit_packet.c untrunc_packet use after free technical-description vdb-entry
- VDB-320537 | CTI Indicators (IOB, IOC, IOA) permissions-required signature
- Submit #630495 | tcpreplay tcprewrite tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Use-After-Free third-party-advisory
- github.com issue-tracking
- drive.google.com exploit
- github.com patch
- Ubuntu CVE tracker vendor-advisory
- www.cve.org