CVE-2023-46256: dronecode px4_drone_autopilot Classic Buffer Overflow
Vulnerability summary
CVE-2023-46256 is a critical (CVSS 9.8) Classic Buffer Overflow vulnerability in dronecode px4_drone_autopilot. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 49.2% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 31-10-2023PublishedVulnerability first disclosed.
- 05-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA4.4MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:LDiffers
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
0.00 pp
From 0.63% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundPx4 Autopilot
Maturity: poc
Weaknesses
CWE · root cause- CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Dronecode1 product
- px4_drone_autopilot≤ 1.13.3 | 1.14.0:beta1 | 1.14.0:beta2 | 1.14.0:rc1
Px41 product
- px4-autopilot≤ 1.14.0-rc1
2 vendors · 2 products
References
2 links- github.com/PX4/PX4-Autopilot/security/advisories/GHSA-5hvv-q2r5-rppwX Refsource CONFIRMExploitVendor Advisory