A vulnerability was found in appneta tcpreplay up to 4.5.2-beta2. It has been declared as problematic. 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.

This vulnerability is handled as CVE-2025-9157. It is possible to launch the attack on the local host. Additionally, an exploit exists.

Applying a patch is advised to resolve this issue.