# CVE-2025-9157: appneta tcpreplay tcprewrite edit\_packet.c untrunc\_packet use after free

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-08-19 · Modified: 2025-08-19
- Aliases: UBUNTU-CVE-2025-9157, DEBIAN-CVE-2025-9157
- Record: https://cvemate.com/vulnerability/CVE-2025-9157 · JSON: https://cvemate.com/vulnerability/CVE-2025-9157/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) 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
- EPSS: 0.176%, percentile 7.377%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- appneta tcpreplay: 4.5.2-beta1 \| 4.5.2-beta2
- debian tcpreplay (Debian): All versions (No fix recorded) \| \< 4.5.2-1
- ubuntu tcpreplay (Ubuntu): All versions (No fix recorded)

## References

- <https://vuldb.com/?id.320537>
- <https://vuldb.com/?ctiid.320537>
- <https://vuldb.com/?submit.630495>
- <https://github.com/appneta/tcpreplay/issues/970>
- <https://github.com/appneta/tcpreplay/issues/970#issuecomment-3198966053>
- <https://drive.google.com/file/d/1_aONM_TOF96JbnYviPyZhVk-7HObtX8H/view?usp=sharing>
- <https://github.com/appneta/tcpreplay/commit/73008f261f1cdf7a1087dc8759115242696d35da>
- <https://ubuntu.com/security/CVE-2025-9157>
- <https://www.cve.org/CVERecord?id=CVE-2025-9157>
- <https://security-tracker.debian.org/tracker/CVE-2025-9157>

---

Data as of 2026-12-05T04:20:18.955Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
