Vulnerability · Published Sep 22, 2025 · Assigned by mitre
CVE-2025-51006
High 7.8
In plain English
A high-severity double free in the tcpreplay package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Within tcpreplay's tcprewrite, a double free vulnerability has been identified in the dlt_linuxsll2_cleanup() function in plugins/dlt_linuxsll2/linuxsll2.c. This vulnerability is triggered when tcpedit_dlt_cleanup() indirectly invokes the cleanup routine multiple times on the same memory region. By supplying a specifically crafted pcap file to the tcprewrite binary, a local attacker can exploit this flaw to cause a Denial of Service (DoS) via memory corruption.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tcpreplay | no fix listed | DEBIAN-CVE-2025-51006 |
| Debian:13 | tcpreplay | no fix listed | DEBIAN-CVE-2025-51006 |
| Debian:14 | tcpreplay | 4.5.2-1 | DEBIAN-CVE-2025-51006 |
| Ubuntu:25.10 | tcpreplay | no fix listed | UBUNTU-CVE-2025-51006 |
| Ubuntu:26.04:LTS | tcpreplay | no fix listed | UBUNTU-CVE-2025-51006 |
| Ubuntu:26.10 | tcpreplay | no fix listed | UBUNTU-CVE-2025-51006 |
Affected products (as reported)
Weakness: CWE-415 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H