CVE-2026-55687: CWE-121: Stack-based Buffer Overflow in espressif esp-idf
A stack-based buffer overflow vulnerability exists in the Espressif esp-idf framework in the jpeg_parse_dqt_marker() function due to improper validation of an attacker-controlled index. This allows malformed JPEG input to corrupt stack memory and cause a denial of service. The issue affects versions 5.3.5, 5.4.4, 5.5.4, and 6.0.1 and is fixed in version 6.0.2 and expected to be fixed in upcoming patch releases of earlier versions.
AI Analysis
Technical Summary
The Espressif Internet of Things Development Framework (esp-idf) contains a stack-based buffer overflow vulnerability (CWE-121, CWE-787) in the jpeg_parse_dqt_marker() function located in components/esp_driver_jpeg/jpeg_parse_marker.c. The vulnerability arises because the DQT marker Tq nibble, which is attacker-controlled, is used as an index into the qt_tbl array without validating that it falls within the valid range 0 to 3. This out-of-bounds write can corrupt stack memory and reliably trigger a denial of service. Affected versions include 5.3.5, 5.4.4, 5.5.4, and 6.0.1. The issue is fixed in version 6.0.2 and expected to be fixed in 5.3.6, 5.4.5, and 5.5.5.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to cause a denial of service by corrupting stack memory through malformed JPEG input. There is no indication of confidentiality or integrity impact. The CVSS 3.1 base score is 7.5 (high), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to availability.
Mitigation Recommendations
A fix is available in esp-idf version 6.0.2. Fixes are also expected in versions 5.3.6, 5.4.5, and 5.5.5. Users should upgrade to these fixed versions once available to remediate the vulnerability. Patch status is not yet confirmed for the 5.x branches, so check the vendor advisory for current remediation guidance.
CVE-2026-55687: CWE-121: Stack-based Buffer Overflow in espressif esp-idf
Description
A stack-based buffer overflow vulnerability exists in the Espressif esp-idf framework in the jpeg_parse_dqt_marker() function due to improper validation of an attacker-controlled index. This allows malformed JPEG input to corrupt stack memory and cause a denial of service. The issue affects versions 5.3.5, 5.4.4, 5.5.4, and 6.0.1 and is fixed in version 6.0.2 and expected to be fixed in upcoming patch releases of earlier versions.
CVSS v3.1
Score 7.5high
Affected software
pkg:github/espressif/esp-idfRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Espressif Internet of Things Development Framework (esp-idf) contains a stack-based buffer overflow vulnerability (CWE-121, CWE-787) in the jpeg_parse_dqt_marker() function located in components/esp_driver_jpeg/jpeg_parse_marker.c. The vulnerability arises because the DQT marker Tq nibble, which is attacker-controlled, is used as an index into the qt_tbl array without validating that it falls within the valid range 0 to 3. This out-of-bounds write can corrupt stack memory and reliably trigger a denial of service. Affected versions include 5.3.5, 5.4.4, 5.5.4, and 6.0.1. The issue is fixed in version 6.0.2 and expected to be fixed in 5.3.6, 5.4.5, and 5.5.5.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to cause a denial of service by corrupting stack memory through malformed JPEG input. There is no indication of confidentiality or integrity impact. The CVSS 3.1 base score is 7.5 (high), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to availability.
Mitigation Recommendations
A fix is available in esp-idf version 6.0.2. Fixes are also expected in versions 5.3.6, 5.4.5, and 5.5.5. Users should upgrade to these fixed versions once available to remediate the vulnerability. Patch status is not yet confirmed for the 5.x branches, so check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-17T00:13:10.650Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a511ed668715ace43d689e9
Added to database: 07/10/2026, 16:33:26 UTC
Last enriched: 07/10/2026, 16:47:42 UTC
Last updated: 07/10/2026, 16:47:42 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.