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.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 91.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12tcpreplayno fix listedDEBIAN-CVE-2025-51006
Debian:13tcpreplayno fix listedDEBIAN-CVE-2025-51006
Debian:14tcpreplay4.5.2-1DEBIAN-CVE-2025-51006
Ubuntu:25.10tcpreplayno fix listedUBUNTU-CVE-2025-51006
Ubuntu:26.04:LTStcpreplayno fix listedUBUNTU-CVE-2025-51006
Ubuntu:26.10tcpreplayno fix listedUBUNTU-CVE-2025-51006

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-415 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References