7.5high
ESF-IDF: Stack-Based Out-of-Bounds Write in JPEG Decoder DQT Marker Parsing
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 3.31% (higher than 88% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| espressif esp-idf | >= 6.0.0, < 6.0.2, >= 5.5.0, <= 5.5.4, >= 5.4.0, <= 5.4.4, <= 5.3.5 | CVE List |
Classification
What each source says
CVE List
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.
NVD (es)
ESF-IDF es el Framework de Desarrollo de Internet de las Cosas (IoT) de Espressif. Las versiones 6.0.1, 5.5.4, 5.4.4, 5.3.5, y posiblemente anteriores, contienen una escritura fuera de límites en jpeg_parse_dqt_marker() en components/esp_driver_jpeg/jpeg_parse_marker.c porque el nibble Tq del marcador DQT controlado por el atacante se usa como un índice en el array qt_tbl sin validar que esté en el rango 0..3, permitiendo que una entrada JPEG malformada corrompa la memoria de la pila y desencadene de forma fiable una denegación de servicio. Este problema está corregido en la versión 6.0.2 y se espera que se corrija en las versiones 5.5.5, 5.4.5 y 5.3.6.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55687 changed 2026-07-10 | CVE Terms of Use |
| NVD | CVE-2026-55687 changed 2026-10-25 | Public domain |