CVE-2024-30259 FastDDS heap buffer overflow when publisher sends malformed packet

High 8.2 Published Updated

A remote attacker can crash FastDDS processes by sending malformed RTPS packets, causing a heap buffer overflow and denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-30259?

CVE-2024-30259 is a high-severity memory corruption vulnerability in eProsima Fast-DDS, published on 13 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

FastDDS is a C++ implementation of the DDS (Data Distribution Service) standard of the OMG (Object Management Group). Prior to versions 2.14.1, 2.13.5, 2.10.4, and 2.6.8, when a publisher serves malformed `RTPS` packet, heap buffer overflow occurs on the subscriber. This can remotely crash any Fast-DDS process, potentially leading to a DOS attack. Versions 2.14.1, 2.13.5, 2.10.4, and 2.6.8 contain a patch for the issue.

Weakness: CWE-787, CWE-122, CWE-120

Which versions are affected by CVE-2024-30259?

It affects 1 product.

Products include Eprosima Fast Dds.

How do I fix CVE-2024-30259?

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-2024-30259 being exploited?

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

Sources

Also known as DEBIAN-CVE-2024-30259, GHSA-qcj9-939p-p662, UBUNTU-CVE-2024-30259.

Is CVE-2024-30259 in your software?

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

Check your SBOMs for free