# CVE-2026-55687: ESF-IDF: Stack-Based Out-of-Bounds Write in JPEG Decoder DQT Marker Parsing

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.70% (percentile 49, 2026-11-28)
- **CWE:** CWE-121, CWE-787
- **Published:** 2026-07-10T15:59:31.646Z
- **Modified:** 2026-10-25T15:10:00.147Z

## Who should check

- Anyone running espressif esp-idf \>= 6.0.0, \< 6.0.2; \>= 5.5.0, \<= 5.5.4; \>= 5.4.0, \<= 5.4.4; \<= 5.3.5

## 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 and fixed versions

- espressif esp-idf: \>= 6.0.0, \< 6.0.2; \>= 5.5.0, \<= 5.5.4; \>= 5.4.0, \<= 5.4.4; \<= 5.3.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55687. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55687.md
Affected: espressif esp-idf >= 6.0.0, < 6.0.2; >= 5.5.0, <= 5.5.4; >= 5.4.0, <= 5.4.4; <= 5.3.5
Fixed in: espressif esp-idf 6.0.2

Steps:
1. Search this machine and project for espressif esp-idf: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55687 being exploited?

There is no confirmed exploitation: CVE-2026-55687 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.70% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-55687?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-55687?

espressif esp-idf \>= 6.0.0, \< 6.0.2; \>= 5.5.0, \<= 5.5.4; \>= 5.4.0, \<= 5.4.4; \<= 5.3.5.

### Is there a fix for CVE-2026-55687?

Yes. Fixed in espressif esp-idf 6.0.2. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-55687?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/espressif/esp-idf/security/advisories/GHSA-v6r2-f6p2-88cj>
- patch: <https://github.com/espressif/esp-idf/commit/303c01305acb8ae5c4eb24a1786300681b4822a4>
- patch: <https://github.com/espressif/esp-idf/commit/6ffafe8e93142ef8ffe51a6311d4abfc0f10fe77>
- patch: <https://github.com/espressif/esp-idf/commit/7ccfc00f39faf1b7e5919f45b56fe44ba699d7c1>
- patch: <https://github.com/espressif/esp-idf/commit/82c5c2dad45313786fb7e973059bc9094d95c3b2>
- patch: <https://github.com/espressif/esp-idf/commit/f2df45bcedef11354e83c31a9718d680a68422c4>
- other: <https://github.com/espressif/esp-idf/releases/tag/v6.0.2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55687>

HTML: <https://flawdb.com/CVE-2026-55687> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55687>
