{"id":"CVE-2025-9157","aliases":["DEBIAN-CVE-2025-9157","EUVD-2025-25247","GHSA-9v49-c9x8-3hm2","UBUNTU-CVE-2025-9157","openSUSE-SU-2025:15728-1","openSUSE-SU-2025:20119-1"],"status":"published","title":"appneta tcpreplay tcprewrite edit_packet.c untrunc_packet use after free","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.","severity":{"version":"4.0","score":4.8,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00164,"percentile":0.05604,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119","CWE-416"],"published":"2025-08-19T20:02:08Z","modified":"2026-10-28T11:06:38Z","fixes":[{"ecosystem":"Debian:14","package":"tcpreplay","fixed_in":["4.5.2-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.3-1","4.4.4-1","4.5.1-1","4.5.2-1","4.5.3-1","4.5.4-1"]},{"source":"osv","ecosystem":"Debian:13","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.1-1","4.5.2-1","4.5.3-1","4.5.4-1"]},{"source":"osv","ecosystem":"Debian:14","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.2-1"}]}],"versions":["4.5.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.4-2","3.4.4-2+deb8u1build0.16.04.1","3.4.4-2+deb8u1ubuntu0.1~esm1","3.4.4-2+deb8u1ubuntu0.1~esm2","3.4.4-2+deb8u1ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.6-1","4.2.6-1ubuntu0.1~esm1","4.2.6-1ubuntu0.1~esm2","4.2.6-1ubuntu0.1~esm3","4.2.6-1ubuntu0.1~esm4","4.2.6-1ubuntu0.1~esm5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.2-1build1","4.3.2-1ubuntu0.1~esm1","4.3.2-1ubuntu0.1~esm2","4.3.2-1ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.3-2","4.3.4-1","4.3.4-1ubuntu0.1~esm1","4.3.4-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.3-1","4.4.4-1","4.4.4-1build1","4.4.4-1build2","4.4.4-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.1-1","4.5.2-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.2-1build1","4.5.4-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.2-1","4.5.2-1build1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.2-1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"tcpreplay","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.2-bp160.1.1"}]}],"bundled":11}],"products":[{"vendor":"appneta","product":"tcpreplay"}],"references":[{"url":"https://vuldb.com/?id.320537","tags":["vdb-entry","technical-description","advisory","report"]},{"url":"https://vuldb.com/?ctiid.320537","tags":["signature","permissions-required","report"]},{"url":"https://vuldb.com/?submit.630495","tags":["third-party-advisory","advisory","report"]},{"url":"https://github.com/appneta/tcpreplay/issues/970","tags":["issue-tracking","report"]},{"url":"https://github.com/appneta/tcpreplay/issues/970#issuecomment-3198966053","tags":["issue-tracking","report"]},{"url":"https://drive.google.com/file/d/1_aONM_TOF96JbnYviPyZhVk-7HObtX8H/view?usp=sharing","tags":["exploit","evidence","report"]},{"url":"https://github.com/appneta/tcpreplay/commit/73008f261f1cdf7a1087dc8759115242696d35da","tags":["patch","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9157","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9v49-c9x8-3hm2"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9157.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-9157","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-9157","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-9157","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-51006","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-9157","tags":["web"]},{"url":"https://bugzilla.suse.com/1218249","tags":["report"]},{"url":"https://bugzilla.suse.com/1221324","tags":["report"]},{"url":"https://bugzilla.suse.com/1222131","tags":["report"]},{"url":"https://bugzilla.suse.com/1243845","tags":["report"]},{"url":"https://bugzilla.suse.com/1247919","tags":["report"]},{"url":"https://bugzilla.suse.com/1248322","tags":["report"]},{"url":"https://bugzilla.suse.com/1248595","tags":["report"]},{"url":"https://bugzilla.suse.com/1248596","tags":["report"]},{"url":"https://bugzilla.suse.com/1248597","tags":["report"]},{"url":"https://bugzilla.suse.com/1248964","tags":["report"]},{"url":"https://bugzilla.suse.com/1250356","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2023-4256","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-43279","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-22654","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-3024","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-8746","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-9384","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-9385","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-9386","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-9649","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2025-9157","title":"appneta tcpreplay tcprewrite edit_packet.c untrunc_packet use after free","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.","status":"published","published":"2025-08-19T20:02:08.552Z","modified":"2025-08-19T20:32:45.294Z","cvss":[{"version":"4.0","score":4.8,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":5.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.0","score":5.3,"vector":"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","level":"medium","assessor":"cna"},{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C","assessor":"cna"}],"cwes":["CWE-416","CWE-119"],"updated_at":"2026-11-02T14:32:34.096798Z"}],"euvd":[{"id":"EUVD-2025-25247","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.","status":"published","published":"2025-08-19T20:02:08Z","modified":"2025-08-19T20:32:45Z","cvss":[{"version":"4.0","score":4.8,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T20:31:55.90596Z"}],"ghsa":[{"id":"GHSA-9v49-c9x8-3hm2","title":"A vulnerability was determined in appneta tcpreplay up to 4.5.2-beta2. The impacted element is...","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.","status":"published","published":"2025-08-19T21:30:37Z","modified":"2025-08-19T21:30:48Z","cvss":[{"version":"4.0","score":1.9,"vector":"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","level":"low"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:03:20.338761Z"}],"nvd":[{"id":"CVE-2025-9157","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.","status":"published","published":"2025-08-19T20:15:37.31Z","modified":"2026-06-17T10:08:26.333Z","cvss":[{"version":"4.0","score":1.9,"vector":"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","level":"low","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"secondary"}],"cwes":["CWE-119","CWE-416"],"updated_at":"2026-11-02T14:11:24.730342Z"}],"osv":[{"id":"CVE-2025-9157","title":"appneta tcpreplay tcprewrite edit_packet.c untrunc_packet use after free","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.","status":"published","published":"2025-08-19T20:02:08.552Z","modified":"2026-10-28T11:06:38.965653181Z","cvss":[{"version":"4.0","score":1.9,"vector":"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","level":"low"}],"cwes":["CWE-119","CWE-416"],"updated_at":"2026-11-02T15:44:53.490346Z"},{"id":"DEBIAN-CVE-2025-9157","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.","status":"published","published":"2025-08-19T20:15:37.31Z","modified":"2026-09-01T20:05:59.110259095Z","cvss":[{"version":"4.0","score":1.9,"vector":"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","level":"low"}],"updated_at":"2026-11-02T15:45:48.440897Z"},{"id":"UBUNTU-CVE-2025-9157","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.","status":"published","published":"2025-08-19T20:15:00Z","modified":"2026-10-17T12:59:37.768537594Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":1.9,"vector":"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","level":"low"}],"updated_at":"2026-11-02T16:55:55.926217Z"},{"id":"openSUSE-SU-2025:15728-1","title":"tcpreplay-4.5.2-1.1 on GA media","description":"These are all security issues fixed in the tcpreplay-4.5.2-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-11-11T00:00:00Z","modified":"2026-02-04T02:45:24.689766Z","updated_at":"2026-11-02T16:58:37.810934Z"},{"id":"openSUSE-SU-2025:20119-1","title":"Security update for tcpreplay","description":"This update for tcpreplay fixes the following issues:\n\n- update to 4.5.2:\n  * features added since 4.4.4\n    - fix/recalculate header checksum for ipv6-frag\n    - IPv6 frag checksum support\n    - AF_XDP socket support\n    - tcpreplay -w (write into a pcap file)\n    - tcpreplay --fixhdrlen\n    - --include and --exclude options\n    - SLL2 support\n    - Haiku support\n  * security fixes reported for 4.4.4 fixed in 4.5.2\n    - CVE-2023-4256  / bsc#1218249\n    - CVE-2023-43279 / bsc#1221324\n    - CVE-2024-3024  / bsc#1222131 (likely)\n    - CVE-2024-22654 / bsc#1243845\n    - CVE-2025-9157  / bsc#1248322\n    - CVE-2025-9384  / bsc#1248595\n    - CVE-2025-9385  / bsc#1248596\n    - CVE-2025-9386  / bsc#1248597\n    - CVE-2025-9649  / bsc#1248964\n    - CVE-2025-51006 / bsc#1250356\n","status":"published","published":"2025-11-27T12:29:40Z","modified":"2026-03-23T04:54:17.566274Z","updated_at":"2026-11-02T16:58:38.101535Z"}]}}
