CVE-2023-0666 Wireshark RTPS Parsing Buffer Overflow

Medium 6.5 Published Updated

A heap-based buffer overflow in Wireshark's RTPS parser allows attackers to execute arbitrary code via crafted packets.

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-2023-0666?

CVE-2023-0666 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 7 Jun 2023. 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

Due to failure in validating the length provided by an attacker-crafted RTPS packet, Wireshark version 4.0.5 and prior, by default, is susceptible to a heap-based buffer overflow, and possibly code execution in the context of the process running Wireshark.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2023-0666?

It affects 2 products.

Products include Debian Debian Linux, Wireshark Wireshark.

How do I fix CVE-2023-0666?

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-2023-0666 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-0666, GHSA-p3q5-qxhp-fpcg, OESA-2024-1342, OESA-2024-1427, OESA-2024-1428, OESA-2024-1429 and 3 more.

Is CVE-2023-0666 in your software?

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

Check your SBOMs for free