{"id":"CVE-2026-55687","state":"PUBLISHED","title":"ESF-IDF: Stack-Based Out-of-Bounds Write in JPEG Decoder DQT Marker Parsing","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.","publishedAt":"2026-07-10T15:59:31.646Z","updatedAt":"2026-07-10T20:58:56.932Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["espressif esp-idf"],"affected":[{"vendor":"espressif","product":"esp-idf","versions":[{"version":">= 6.0.0, < 6.0.2","status":"affected"},{"version":">= 5.5.0, <= 5.5.4","status":"affected"},{"version":">= 5.4.0, <= 5.4.4","status":"affected"},{"version":"<= 5.3.5","status":"affected"}]}],"references":["https://github.com/espressif/esp-idf/security/advisories/GHSA-v6r2-f6p2-88cj","https://github.com/espressif/esp-idf/commit/303c01305acb8ae5c4eb24a1786300681b4822a4","https://github.com/espressif/esp-idf/commit/6ffafe8e93142ef8ffe51a6311d4abfc0f10fe77","https://github.com/espressif/esp-idf/commit/7ccfc00f39faf1b7e5919f45b56fe44ba699d7c1","https://github.com/espressif/esp-idf/commit/82c5c2dad45313786fb7e973059bc9094d95c3b2","https://github.com/espressif/esp-idf/commit/f2df45bcedef11354e83c31a9718d680a68422c4","https://github.com/espressif/esp-idf/releases/tag/v6.0.2"],"weaknesses":["CWE-121","CWE-787"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/55xxx/CVE-2026-55687.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-55687","state":"PUBLISHED","datePublished":"2026-07-10T15:59:31.646Z","dateUpdated":"2026-07-10T20:58:56.932Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-17T00:13:10.650Z"},"containers":{"cna":{"title":"ESF-IDF: Stack-Based Out-of-Bounds Write in JPEG Decoder DQT Marker Parsing","descriptions":[{"lang":"en","value":"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":[{"vendor":"espressif","product":"esp-idf","versions":[{"version":">= 6.0.0, < 6.0.2","status":"affected"},{"version":">= 5.5.0, <= 5.5.4","status":"affected"},{"version":">= 5.4.0, <= 5.4.4","status":"affected"},{"version":"<= 5.3.5","status":"affected"}]}],"references":[{"url":"https://github.com/espressif/esp-idf/security/advisories/GHSA-v6r2-f6p2-88cj","name":"https://github.com/espressif/esp-idf/security/advisories/GHSA-v6r2-f6p2-88cj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/espressif/esp-idf/commit/303c01305acb8ae5c4eb24a1786300681b4822a4","name":"https://github.com/espressif/esp-idf/commit/303c01305acb8ae5c4eb24a1786300681b4822a4","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/6ffafe8e93142ef8ffe51a6311d4abfc0f10fe77","name":"https://github.com/espressif/esp-idf/commit/6ffafe8e93142ef8ffe51a6311d4abfc0f10fe77","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/7ccfc00f39faf1b7e5919f45b56fe44ba699d7c1","name":"https://github.com/espressif/esp-idf/commit/7ccfc00f39faf1b7e5919f45b56fe44ba699d7c1","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/82c5c2dad45313786fb7e973059bc9094d95c3b2","name":"https://github.com/espressif/esp-idf/commit/82c5c2dad45313786fb7e973059bc9094d95c3b2","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/f2df45bcedef11354e83c31a9718d680a68422c4","name":"https://github.com/espressif/esp-idf/commit/f2df45bcedef11354e83c31a9718d680a68422c4","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/releases/tag/v6.0.2","name":"https://github.com/espressif/esp-idf/releases/tag/v6.0.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","description":"CWE-121: Stack-based Buffer Overflow","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-10T16:00:26.889Z"},"source":{"advisory":"GHSA-v6r2-f6p2-88cj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-10T20:53:12.598119Z","id":"CVE-2026-55687","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-10T20:58:56.932Z"}}]}}}