CVE-2025-51006 Use after free in n/a

High 7.8 Published Updated

A local attacker can cause a denial of service via memory corruption by providing a crafted pcap file to tcprewrite.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-51006?

CVE-2025-51006 is a high-severity use after free vulnerability in Broadcom Tcpreplay, published on 22 Sep 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-415

Which versions are affected by CVE-2025-51006?

It affects 1 product.

Products include Broadcom Tcpreplay.

How do I fix CVE-2025-51006?

No fix published yet.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-51006 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51006 exists.

All Broadcom Tcpreplay vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-51006, GHSA-7rv6-hjpp-g74c, UBUNTU-CVE-2025-51006.

Is CVE-2025-51006 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free