CVE-2023-46256 PX4-Autopilot Heap Buffer Overflow Bug

Medium 4.4 Published Updated

A heap buffer overflow in PX4-Autopilot allows malicious applications to write arbitrary data to memory, potentially causing unexpected drone behavior or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-46256?

CVE-2023-46256 is a medium-severity memory corruption vulnerability in PX4-Autopilot, published on 31 Oct 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

PX4-Autopilot provides PX4 flight control solution for drones. In versions 1.14.0-rc1 and prior, PX4-Autopilot has a heap buffer overflow vulnerability in the parser function due to the absence of `parserbuf_index` value checking. A malfunction of the sensor device can cause a heap buffer overflow with leading unexpected drone behavior. Malicious applications can exploit the vulnerability even if device sensor malfunction does not occur. Up to the maximum value of an `unsigned int`, bytes sized data can be written to the heap memory area. As of time of publication, no fixed version is available.

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

Which versions are affected by CVE-2023-46256?

It affects 1 product.

Products include Dronecode Px4 Drone Autopilot.

How do I fix CVE-2023-46256?

No fix has been published for CVE-2023-46256 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-46256 being exploited?

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

Sources

Also known as GHSA-5hvv-q2r5-rppw.

Is CVE-2023-46256 in your software?

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

Check your SBOMs for free