Junglewise Threat Intelligence

CVE-2026-55687: Espressif ESP-IDF out-of-bounds write in JPEG decoder

CVE-2026-55687 · Severity: high · CVSS 7.5 · Published 2026-07-10

Technologies: Espressif Systems ESP-IDF. Vendors: Espressif Systems.

Executive brief

Espressif ESP-IDF is a development framework used to build software for Internet of Things (IoT) devices like smart home appliances and industrial sensors. A vulnerability in its JPEG image processing component allows an attacker to crash a device by sending it a specially crafted image file over the network. This can lead to a permanent or repeated service outage, preventing the device from functioning correctly.

Technical details

An out-of-bounds write exists in jpeg_parse_dqt_marker() within components/esp_driver_jpeg/jpeg_parse_marker.c. The vulnerability is caused by using an attacker-controlled 'Tq' nibble from the Define Quantization Table (DQT) segment as an index into the qt_tbl array without proper bounds checking. Since qt_tbl is a 4x64 array, a Tq value greater than 3 results in a write past the array boundaries into stack memory. This can be exploited by sending malformed JPEG data via network streams (e.g., HTTP or MJPEG) to trigger a deterministic crash (denial of service) or potentially achieve code execution on builds lacking stack protection. The issue is fixed in version 6.0.2 and planned for 5.5.5, 5.4.5, and 5.3.6.

Affected products

  • Espressif Systems ESP-IDF 6.0.1, 5.5.4, 5.4.4, 5.3.5

Timeline

  • 2026-06-22: advisory: GitHub Security Advisory published
  • 2026-06-29: patched: Version 6.0.2 released
  • 2026-07-10: disclosed: CVE published to NVD

References

Related threats