CVE-2026-55687 Details
Description
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. Versions 6.0.1, 5.5.4, 5.4.4, 5.3.5, and possibly prior contain an out-of-bounds write in jpeg_parse_dqt_marker() in components/esp_driver_jpeg/jpeg_parse_marker.c because the attacker-controlled DQT marker Tq nibble is used as an index into the qt_tbl array without validating that it is in the range 0..3, allowing malformed JPEG input to corrupt stack memory and reliably trigger a denial of service. This issue is fixed in version 6.0.2 and is expected to be fixed in versions 5.5.5, 5.4.5, and 5.3.6.
A stack-based out-of-bounds write vulnerability has been identified in the JPEG decoder of the Espressif Internet of Things Development Framework (ESP-IDF) versions 6.0.1, 5.5.4, 5.4.4, and 5.3.5. The issue arises in the 'jpeg_parse_dqt_marker()' function within 'components/esp_driver_jpeg/jpeg_parse_marker.c'. When the decoder processes a Define Quantization Table (DQT) segment, it reads the 'Tq' nibble from the DQT marker without proper validation, allowing an attacker to manipulate the input and write beyond the allocated array into adjacent stack memory. This memory corruption reliably triggers a denial-of-service condition by causing a 'Stack smashing protect failure' panic, particularly on ESP32-P4 devices. While the primary impact is denial-of-service, the vulnerability could potentially be exploited for code execution under certain conditions, such as on builds without stack protection.
Users can upgrade to ESP-IDF version 6.0.2, 5.5.5, 5.4.5, or 5.3.6, all of which include the necessary fix. Instructions for downloading these versions are available in the ESP-IDF Programming Guide.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 10, 2026CISA-ADP
Assessed Jul 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Espressif ESP-IDF | 6.0.1 (semver) 5.5.4 (semver) 5.4.4 (semver) 5.3.5 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 10, 2026 | CVE Modified | CISA-ADP |
| Jul 10, 2026 | New CVE Received | [email protected] |
Volerion