CVE-2025-9019 tcpreplay tcpprep cidr.c mask_cidr6 heap-based overflow
Remote attackers can trigger a heap-based buffer overflow in tcpreplay's tcpprep component, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-9019?
CVE-2025-9019 is a low-severity memory corruption vulnerability in Broadcom Tcpreplay, published on 15 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A vulnerability has been found in tcpreplay 4.5.1. This vulnerability affects the function mask_cidr6 of the file cidr.c of the component tcpprep. The manipulation leads to heap-based buffer overflow. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The researcher is able to reproduce this with the latest official release 4.5.1 and the current master branch. The code maintainer cannot reproduce this for 4.5.2-beta1. In his reply the maintainer explains that "[i]n that case, this is a duplicate that was fixed in 4.5.2."
Which versions are affected by CVE-2025-9019?
It affects 1 product.
Products include Broadcom Tcpreplay.
How do I fix CVE-2025-9019?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-9019 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-9019 exists.
Other vulnerabilities in Broadcom Tcpreplay
Sources
Also known as DEBIAN-CVE-2025-9019, GHSA-f6rq-rhh3-fpff, UBUNTU-CVE-2025-9019.