CVE-2025-9157
appneta tcpreplay tcprewrite edit_packet.c untrunc_packet use after free
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
4.8
appneta tcpreplay tcprewrite edit_packet.c untrunc_packet use after free
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.
- Record
CVE-2025-9157- CVSS 4.0
- 4.8 Medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - CVSS 3.1
- 5.3 Medium
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 - CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C - CVSS 2.0
- 4.3
AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C - Weakness
- CWE-416, CWE-119
- Updated
- 2026-11-02
EUVDEUVD-2025-25247
4.8
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.
- Record
EUVD-2025-25247- CVSS 4.0
- 4.8 Medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-9v49-c9x8-3hm2
1.9
A vulnerability was determined in appneta tcpreplay up to 4.5.2-beta2. The impacted element is...
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.
- Record
GHSA-9v49-c9x8-3hm2- CVSS 4.0
- 1.9 Low
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-119
- Updated
- 2026-11-02
NVD
1.9
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.
- Record
CVE-2025-9157- CVSS 4.0
- 1.9 Low
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - CVSS 2.0
- 4.3 Medium
AV:L/AC:L/Au:S/C:P/I:P/A:P - Weakness
- CWE-119, CWE-416
- Updated
- 2026-11-02
OSV
1.9
appneta tcpreplay tcprewrite edit_packet.c untrunc_packet use after free
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.
- Record
CVE-2025-9157- CVSS 4.0
- 1.9 Low
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - Weakness
- CWE-119, CWE-416
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-9157
1.9
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.
- Record
DEBIAN-CVE-2025-9157- CVSS 4.0
- 1.9 Low
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-9157
1.9
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.
- Record
UBUNTU-CVE-2025-9157- CVSS 4.0
- 1.9 Low
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15728-1 No score
tcpreplay-4.5.2-1.1 on GA media
These are all security issues fixed in the tcpreplay-4.5.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15728-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:20119-1 No score
Security update for tcpreplay
This update for tcpreplay fixes the following issues:
- update to 4.5.2:
- features added since 4.4.4
- fix/recalculate header checksum for ipv6-frag
- IPv6 frag checksum support
- AF_XDP socket support
- tcpreplay -w (write into a pcap file)
- tcpreplay --fixhdrlen
- --include and --exclude options
- SLL2 support
- Haiku support
- security fixes reported for 4.4.4 fixed in 4.5.2
- CVE-2023-4256 / bsc#1218249
- CVE-2023-43279 / bsc#1221324
- CVE-2024-3024 / bsc#1222131 (likely)
- CVE-2024-22654 / bsc#1243845
- CVE-2025-9157 / bsc#1248322
- CVE-2025-9384 / bsc#1248595
- CVE-2025-9385 / bsc#1248596
- CVE-2025-9386 / bsc#1248597
- CVE-2025-9649 / bsc#1248964
- CVE-2025-51006 / bsc#1250356
- features added since 4.4.4
- Record
openSUSE-SU-2025:20119-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tcpreplayDebian:12 |
All versions, plus listed versions 4.4.3-14.4.4-14.5.1-14.5.2-14.5.3-14.5.4-1 |
None known |
tcpreplayDebian:13 |
All versions, plus listed versions 4.5.1-14.5.2-14.5.3-14.5.4-1 |
None known |
tcpreplayDebian:14 |
before 4.5.2-1, plus listed versions 4.5.1-1 |
4.5.2-1 |
tcpreplayUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 3.4.4-23.4.4-2+deb8u1build0.16.04.13.4.4-2+deb8u1ubuntu0.1~esm13.4.4-2+deb8u1ubuntu0.1~esm23.4.4-2+deb8u1ubuntu0.1~esm3 |
None known |
tcpreplayUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 4.2.6-14.2.6-1ubuntu0.1~esm14.2.6-1ubuntu0.1~esm24.2.6-1ubuntu0.1~esm34.2.6-1ubuntu0.1~esm44.2.6-1ubuntu0.1~esm5 |
None known |
tcpreplayUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 4.3.2-1build14.3.2-1ubuntu0.1~esm14.3.2-1ubuntu0.1~esm24.3.2-1ubuntu0.1~esm3 |
None known |
tcpreplayUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 4.3.3-24.3.4-14.3.4-1ubuntu0.1~esm14.3.4-1ubuntu0.1~esm2 |
None known |
tcpreplayUbuntu:Pro:24.04:LTS |
All versions, plus listed versions 4.4.3-14.4.4-14.4.4-1build14.4.4-1build24.4.4-1ubuntu0.1~esm1 |
None known |
tcpreplayUbuntu:25.10 |
All versions, plus listed versions 4.5.1-14.5.2-1 |
None known |
tcpreplayUbuntu:26.10 |
All versions, plus listed versions 4.5.2-1build14.5.4-1 |
None known |
tcpreplayUbuntu:26.04:LTS |
All versions, plus listed versions 4.5.2-14.5.2-1build1 |
None known |
tcpreplayopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 4.5.2-1.1 | 4.5.2-1.1 |
tcpreplayopenSUSE:Leap 16.0 From an advisory covering 11 CVEs |
before 4.5.2-bp160.1.1 | 4.5.2-bp160.1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-9157 is a medium vulnerability (CVSS 4.8) in Appneta Tcpreplay, published August 19, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.15%, the 4th percentile. Fixed in tcpreplay 4.5.2-1.
References
vuldb.com?id.320537
vuldb.com?ctiid.320537
vuldb.com?submit.630495
github.com/appneta/tcpreplay/issues/970
drive.google.com/file/d/1_aONM_TOF96JbnYviPyZhVk-7HObtX8H/view?usp=sharing
github.com/appneta/tcpreplay/commit/73008f261f1cdf7a1087dc8759115242696d35da
Show 28 moreShow less
nvd.nist.gov/vuln/detail/CVE-2025-9157
github.com/advisories/GHSA-9v49-c9x8-3hm2
github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9157.json
security-tracker.debian.org/tracker/CVE-2025-9157
ubuntu.com/security/CVE-2025-9157
cve.org/CVERecord?id=CVE-2025-9157
suse.com/security/cve/CVE-2025-51006
suse.com/security/cve/CVE-2025-9157
bugzilla.suse.com/1218249
bugzilla.suse.com/1221324
bugzilla.suse.com/1222131
bugzilla.suse.com/1243845
bugzilla.suse.com/1247919
bugzilla.suse.com/1248322
bugzilla.suse.com/1248595
bugzilla.suse.com/1248596
bugzilla.suse.com/1248597
bugzilla.suse.com/1248964
bugzilla.suse.com/1250356
suse.com/security/cve/CVE-2023-4256
suse.com/security/cve/CVE-2023-43279
suse.com/security/cve/CVE-2024-22654
suse.com/security/cve/CVE-2024-3024
suse.com/security/cve/CVE-2025-8746
suse.com/security/cve/CVE-2025-9384
suse.com/security/cve/CVE-2025-9385
suse.com/security/cve/CVE-2025-9386
suse.com/security/cve/CVE-2025-9649