Buffer Overflow Affecting espressif/esp-idf package, versions [,5.0.9)[5.1-beta1, 5.1.6)[5.2-beta1, 5.3.3)[5.4-beta1, 5.4.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (9th 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-12301705
  • published31 Aug 2025
  • disclosed21 Aug 2025
  • creditJames Chambers

Introduced: 21 Aug 2025

NewCVE-2025-55297  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade espressif/esp-idf to version 5.0.9, 5.1.6, 5.3.3, 5.4.1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow via blufi_dh_negotiate_data_handler. An attacker can cause memory corruption or execute arbitrary code by sending specially crafted Wi-Fi credentials or manipulating the Diffie–Hellman key exchange process in Bluetooth communications.

CVSS Base Scores

version 4.0
version 3.1