CVE-2025-9157

NameCVE-2025-9157
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tcpreplay (PTS)bullseye4.3.3-2vulnerable
bookworm4.4.3-1vulnerable
trixie4.5.1-1vulnerable
forky, sid4.5.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tcpreplaysource(unstable)4.5.2-1unimportant

Notes

Crash in CLI tool, no security impact
https://github.com/appneta/tcpreplay/issues/970
https://github.com/appneta/tcpreplay/commit/73008f261f1cdf7a1087dc8759115242696d35da (v4.5.2)

Search for package or bug name: Reporting problems