Skip to main content

ESP-IDF CVE-2026-55687

| EUVDEUVD-2026-42939 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-07-10 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted JPEG to decode path
  2. Delivery
    Set DQT Tq nibble to 4-15
  3. Exploit
    Out-of-bounds index into qt_tbl
  4. Execution
    Stack memory corruption
  5. Impact
    Device crash / denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that attacker-controlled JPEG data reach the ESP-IDF hardware JPEG decode path (jpeg_parse_dqt_marker), i.e. the firmware must actually call the esp_driver_jpeg decoder on untrusted input, and the target must run an affected build (6.0.1, 5.5.4, 5.4.4, 5.3.5 or prior) on a chip with the JPEG codec. The concrete trigger is a JPEG DQT marker whose Tq nibble is outside 0..3. Per the CVSS vector no authentication or user interaction is required (PR:N/UI:N), but the real limiting factor is reachability: if the application only decodes trusted or locally-provisioned images, the AV:N rating overstates exposure and the vulnerability is effectively local - verify the JPEG ingest path per firmware. Impact is confined to denial of service (availability); no confidentiality or integrity effect is described.

Impact

The signals are consistent for a medium-to-high availability issue but do not indicate an emergency. CVSS 3.1 base is 7.5 with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - impact is availability-only (C:N/I:N), matching the description's DoS outcome, so despite the stack-overflow primitive there is no confirmed confidentiality or integrity/code-execution impact. The AV:N (network) rating should be treated with caution: exploitation requires that a malformed JPEG actually reach the JPEG decode API, which is application-dependent (e.g. a network camera stream or an HTTP/MQTT image upload makes it remote, whereas a locally supplied image does not) - verify the real attack surface against how each firmware sources JPEG data. No EPSS score, KEV entry, or public POC was provided, so this is not confirmed to be exploited in the wild; it reads as a robustness/DoS bug rather than a widely-weaponized threat. Priority should scale with exposure: firmware that decodes attacker-reachable JPEGs should patch promptly, while devices that only decode trusted/local images are lower urgency.

Exploit ScenarioDerived

An attacker who can deliver a JPEG to a device whose firmware decodes it - for instance uploading an image to a network-connected ESP32-P4 appliance or serving a malicious frame to a client that fetches remote images - crafts a JPEG whose DQT marker sets the Tq nibble to a value of 4 or higher. When the driver parses the marker it writes out of bounds on the stack, corrupting memory and crashing the device, forcing a reboot or hang. No public exploit code was identified, and the practical reach depends on whether the JPEG source is attacker-controlled and network-accessible.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 10, 2026

Denial of service in Espressif's ESP-IDF JPEG driver (versions 6.0.1, 5.5.4, 5.4.4, 5.3.5 and likely earlier) stems from an out-of-bounds stack write in jpeg_parse_dqt_marker(), where the attacker-controlled DQT marker Tq nibble indexes the qt_tbl array without a 0..3 bounds check. Any application that feeds untrusted JPEG data into the hardware JPEG decode path can be reliably crashed by a single malformed image. There is no public exploit identified at time of analysis, and it is not listed in CISA KEV; the vendor has released a fix in 6.0.2 with backports pending for the 5.x branches.

RemediationAI

Vendor-released patch: ESP-IDF 6.0.2 - upgrade to it on the 6.0.x branch and rebuild/reflash affected firmware. For devices pinned to the long-term-support branches, the fix is expected in 5.5.5, 5.4.5, and 5.3.6 (not yet released at time of analysis); until those tags ship, cherry-pick the upstream commits referenced in the advisory (e.g. 303c01305acb8ae5c4eb24a1786300681b4822a4 and the companion commits f2df45bc, 6ffafe8e, 7ccfc00f, 82c5c2da) which add the missing Tq range validation. As a compensating control where reflashing is not immediately feasible, restrict or filter untrusted JPEG input before it reaches the decoder - for example validate/reject images from network-facing endpoints, or gate the JPEG decode path behind an application-layer bounds check on DQT markers; the trade-off is that input filtering adds latency and only helps where the firmware controls the ingest path. Advisory: https://github.com/espressif/esp-idf/security/advisories/GHSA-v6r2-f6p2-88cj.

Affected VersionsENISA

esp-idf 5.4.0, ≤ 5.4.4
esp-idf 5.5.0, ≤ 5.5.4
esp-idf ≤ 5.3.5
esp-idf 6.0.0, < 6.0.2

Affected Packages

euvd esp_idf fix: 6.0.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ESP-IDF is Espressif's official SDK for the ESP32 family of microcontrollers, and the affected code lives in components/esp_driver_jpeg/jpeg_parse_marker.c, the driver that parses JPEG headers before handing data to the hardware JPEG codec (present on parts such as the ESP32-P4). A JPEG Define Quantization Table (DQT) marker encodes, per table, a byte whose low nibble (Tq) selects the destination quantization table slot; the JPEG standard permits only values 0 through 3. The driver uses this attacker-supplied Tq value directly as an index into the fixed-size qt_tbl array without range validation, so a crafted value of 4-15 writes past the end of the array. This is a classic CWE-121 stack-based buffer overflow: because qt_tbl resides on the stack, the write corrupts adjacent stack memory, and the reported consequence is a reliable crash rather than demonstrated code execution.

Know when Esp Idf gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Availability-only DoS (A:H, C:N/I:N) with no auth or interaction; AV:N retained since JPEG input is often network-sourced, though reachability is application-dependent.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Jul 10, 2026 - 18:01 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A denial-of-service vulnerability in Espressif's ESP-IDF JPEG driver affects multiple active versions (6.0.1, 5.5.4, 5.4.4, 5.3.5 and earlier), allowing attackers to crash applications processing untrusted JPEG images and disrupt services across any organization with deployed ESP-based IoT or embedded systems. A patch is available for version 6.0.x, but 5.x branches await backports from the vendor. No public exploit currently identified, but the vulnerability is reliably triggered by a single malformed image.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to ESP-IDF 6.0.2 for version 6.0.x deployments. For systems on 5.x branches pending backport availability, restrict JPEG decode operations to trusted image sources and disable automatic image processing from untrusted external inputs.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
High
ESP-IDF is the dominant SDK for widely-deployed ESP32 IoT devices
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2024-53406 HIGH POC
8.8 Mar 13

Espressif Esp idf v5.3.0 is vulnerable to Insecure Permissions resulting in Authentication bypass. Rated high severity (

CVE-2019-12587 HIGH POC
8.1 Sep 04

The EAP peer implementation in Espressif ESP-IDF 2.0.0 through 4.0.0 and ESP8266_NONOS_SDK 2.2.0 through 3.1.0 allows th

CVE-2020-12638 MEDIUM POC
6.8 Jul 23

An encryption-bypass issue was discovered on Espressif ESP-IDF devices through 4.2, ESP8266_NONOS_SDK devices through 3.

CVE-2024-33454 MEDIUM POC
6.5 May 14

Buffer Overflow vulnerability in esp-idf v.5.1 allows a remote attacker to execute arbitrary code via a crafted script t

CVE-2019-12586 MEDIUM POC
6.5 Sep 04

The EAP peer implementation in Espressif ESP-IDF 2.0.0 through 4.0.0 and ESP8266_NONOS_SDK 2.2.0 through 3.1.0 processes

CVE-2025-52471 CRITICAL
9.8 Jun 24

A security vulnerability in the ESP-NOW protocol implementation within the ESP Wi-Fi component of (CVSS 9.8). Critical s

CVE-2026-45328 HIGH
8.8 Jun 10

Privilege escalation from REE to TEE in Espressif ESP-IDF 5.5.4 and 6.0 lets a low-privileged user-application caller ab

CVE-2022-24893 HIGH
8.8 Jun 25

ESP-IDF is the official development framework for Espressif SoCs. Rated high severity (CVSS 8.8), this vulnerability is

CVE-2021-28139 HIGH
8.8 Sep 07

The Bluetooth Classic implementation in Espressif ESP-IDF 4.4 and earlier does not properly restrict the Feature Page up

CVE-2024-33453 HIGH
8.1 Oct 17

Buffer Overflow vulnerability in esp-idf v.5.1 allows a remote attacker to obtain sensitive information via the external

CVE-2026-45541 HIGH
7.5 Jun 10

Remote denial-of-service in Espressif ESP-IDF's esp_http_server WebSocket handshake allows unauthenticated attackers to

CVE-2024-51428 HIGH
7.5 Nov 07

An issue in Espressif Esp idf v5.3.0 allows attackers to cause a Denial of Service (DoS) via a crafted data channel pack

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy