Stack-based Buffer Overflow Affecting espressif/esp-idf package, versions [,6.0.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ESPRESSIFESPIDF-17950413
  • published11 Jul 2026
  • disclosed10 Jul 2026
  • creditUnknown

Introduced: 10 Jul 2026

CVE-2026-55687  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade espressif/esp-idf to version 6.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow in the jpeg_parse_dqt_marker function. An attacker can corrupt stack memory and cause a denial of service by providing a malformed JPEG input with a specially crafted DQT marker Tq nibble that is used as an index into the qt_tbl array without proper validation.

CVSS Base Scores

version 4.0
version 3.1