CVE-2025-9157 Details
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.
A use-after-free vulnerability has been identified in the Appneta TcpReplay utility, specifically in the Tcprewrite component, versions through 4.5.2-beta2. The issue arises in the 'untrunc_packet' function within 'src/tcpedit/edit_packet.c', where improper handling of packet data after memory reallocation leads to heap memory being accessed after it has been freed. This vulnerability is triggered during the IPv4 checksum calculation process, causing the application to crash unexpectedly.
Users are advised to update to TcpReplay version 4.5.2-beta3, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 19, 2025CISA-ADP
Assessed Aug 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://drive.google.com/file/d/1_aONM_TOF96JbnYviPyZhVk-7HObtX8H/view?usp=sharing | [email protected] | ExploitPermission Required |
| https://github.com/appneta/tcpreplay/commit/73008f261f1cdf7a1087dc8759115242696d35da | [email protected] | Source CodeVendor |
| https://github.com/appneta/tcpreplay/issues/970 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/appneta/tcpreplay/issues/970#issuecomment-3198966053 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/?ctiid.320537 | [email protected] | AdvisoryPermission RequiredRemedy |
| https://vuldb.com/?id.320537 | [email protected] | AdvisoryExploitRemedy |
| https://vuldb.com/?submit.630495 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| appneta tcpreplay | <= 4.5.2-beta2 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Aug 19, 2025 | New CVE Received | [email protected] |
Volerion