appneta tcpreplay up to 4.5.2-beta2 tcprewrite edit_packet.c untrunc_packet use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.0 | $0-$5k | 0.14 |
Summary
A vulnerability was found in appneta tcpreplay up to 4.5.2-beta2. It has been rated as problematic. This affects the function untrunc_packet of the file src/tcpedit/edit_packet.c of the component tcprewrite. The manipulation leads to use after free.
This vulnerability is uniquely identified as CVE-2025-9157. Local access is required to approach this attack. Moreover, an exploit is present.
It is suggested to install a patch to address this issue.
Details
A vulnerability, which was classified as problematic, has been found in appneta tcpreplay up to 4.5.2-beta2. This issue affects the function untrunc_packet of the file src/tcpedit/edit_packet.c of the component tcprewrite. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability.
The advisory is shared at github.com. The identification of this vulnerability is CVE-2025-9157. The exploitation is known to be easy. An attack has to be approached locally. Technical details as well as a public exploit are known.
The exploit is available at drive.google.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 260108 (Linux Distros Unpatched Vulnerability : CVE-2025-9157), which helps to determine the existence of the flaw in a target environment.
Applying the patch 73008f261f1cdf7a1087dc8759115242696d35da is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (260108). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.0
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 5.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 260108
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-9157
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 73008f261f1cdf7a1087dc8759115242696d35da
Timeline
08/19/2025 Advisory disclosed08/19/2025 VulDB entry created
09/01/2025 VulDB entry last update
Sources
Product: github.comAdvisory: 970
Status: Confirmed
Confirmation: 🔒
CVE: CVE-2025-9157 (🔒)
GCVE (CVE): GCVE-0-2025-9157
GCVE (VulDB): GCVE-100-320537
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/19/2025 11:31Updated: 09/01/2025 22:37
Changes: 08/19/2025 11:31 (61), 08/20/2025 06:36 (30), 09/01/2025 22:37 (2)
Complete: 🔍
Submitter: HeureuxBuilding
Cache ID: 216:F84:103
Submit
Accepted
- Submit #630495: tcpreplay tcprewrite tcpreplay version 6fcbf03 (the newest master in https://github.com/appneta/tcpreplay) Use-After-Free (by HeureuxBuilding)
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.