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.
Published: 2026-07-10
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The issue is an out‑of‑bounds write in the JPEG decoder’s DQT marker parser. In jpeg_parse_dqt_marker() the Tq nibble from an attacker‑controlled JPEG image is used directly as an index into the qt_tbl array without checking that it is between 0 and 3. This lack of bounds validation can cause the decoder to write beyond the end of the stack buffer, corrupting stack memory and reliably triggering a denial of service. The weakness corresponds to CWE‑121 (Stack-based Buffer Overflow) and CWE‑787 (Out‑of‑Bounds Write).

Affected Systems

Espressif Internet of Things Development Framework (ESP‑IDF) versions 6.0.1, 5.5.4, 5.4.4, 5.3.5 and earlier are affected. The vulnerability is fixed in ESP‑IDF v6.0.2 and will be fixed in the forthcoming releases v5.5.5, v5.4.5, and v5.3.6.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, while the EPSS score of less than 1% indicates a very low probability of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, the likely attack vector is the delivery of a malicious JPEG file to any component that parses images, which can be remote or local depending on how the device receives image data. An attacker who can supply such a file may cause the target system to crash, resulting in a denial of service.

Generated by OpenCVE AI on July 29, 2026 at 10:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ESP‑IDF to a patched release (v6.0.2 or later, or v5.5.5, v5.4.5, or v5.3.6).
  • If a patch is not immediately available, disable JPEG decoding or restrict JPEG parsing to trusted sources only.
  • Add bounds checking in the DQT marker parser to ensure the Tq value is between 0 and 3 before indexing qt_tbl.

Generated by OpenCVE AI on July 29, 2026 at 10:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 10 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Espressif
Espressif esp-idf
Vendors & Products Espressif
Espressif esp-idf

Fri, 10 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title ESF-IDF: Stack-Based Out-of-Bounds Write in JPEG Decoder DQT Marker Parsing
Weaknesses CWE-121
CWE-787
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Espressif Esp-idf
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-10T20:58:56.932Z

Reserved: 2026-06-17T00:13:10.650Z

Link: CVE-2026-55687

cve-icon Vulnrichment

Updated: 2026-07-10T20:53:13.422Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T10:45:03Z

Weaknesses