CVE-2025-51006

NameCVE-2025-51006
DescriptionWithin 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tcpreplay (PTS)bullseye4.3.3-2vulnerable
bookworm4.4.3-1vulnerable
trixie4.5.1-1vulnerable
forky, sid4.5.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tcpreplaysource(unstable)4.5.2-1

Notes

https://github.com/appneta/tcpreplay/issues/926
Fixed via: https://github.com/appneta/tcpreplay/issues/902
https://github.com/sy460129/CVE-2025-51006

Search for package or bug name: Reporting problems