CVE-2025-64342: espressif esp-idf · Unchecked Error Condition
Affects espressif esp-idfSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium : upgrade to 5.1.7 when convenient.
Data as of 26 Oct 2026, 09:15 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.1.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade espressif/esp-idf to 5.1.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubespressif/esp-idfpkg:github/espressif/esp-idfOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, network-level controls should be implemented to monitor and filter anomalous BLE traffic, specifically connection requests with invalid Access Addresses (0x00000000 or 0xFFFFFFFF). Deploy BLE intrusion detection systems capable of identifying malformed connection attempts. Device firmware should be audited to ensure robust error handling for exceptional BLE conditions. Organizations should also review application logic that relies on connection events to validate connection state independently, preventing false assumptions. For critical deployments, consider segmenting BLE networks and limiting physical access to reduce attack surface. Finally, incorporate this vulnerability into incident response plans to quickly detect and respond to potential exploitation attempts.
Description
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. When the ESP32 is in advertising mode, if it receives a connection request containing an invalid Access Address (AA) of 0x00000000 or 0xFFFFFFFF, advertising may stop unexpectedly. In this case, the controller may incorrectly report a connection event to the host, which can cause the application layer to assume that the device has successfully established a connection. This issue has been fixed in versions 5.5.2, 5.4.3, 5.3.5, 5.2.6, and 5.1.7. At time of publication versions 5.5.2, 5.3.5, and 5.1.7 have not been released but are fixed respectively in commits 3b95b50, e3d7042, and 75967b5.
References
- github.com/espressif/esp-idf/security/advisories/GHSA-8mg7-9qpg-p92v (opens in a new tab)
- github.com/espressif/esp-idf/commit/309f031dd6b04de30c926a256508c65b0df95dfa (opens in a new tab)
- github.com/espressif/esp-idf/commit/3b95b50703cd3301a370cffaa1cc299b1941fe2a (opens in a new tab)
- github.com/espressif/esp-idf/commit/75967b578563ea7876dc215251cbb6d64bc9d768 (opens in a new tab)
- github.com/espressif/esp-idf/commit/8ec541023684d33b498fa21c5b4724bce748aa7b (opens in a new tab)
- github.com/espressif/esp-idf/commit/bf66761962579f73aea682d1154b9c99b9d3d7dc (opens in a new tab)
- github.com/espressif/esp-idf/commit/e3d70429566ece1ef593d36aa4ebd320e0c95925 (opens in a new tab)