Home / espressif / esp-idf / CVE-2024-53845
CVE-2024-53845: is it exploited, and which versions of espressif esp-idf are affected and fixed?
CVE-2024-53845 is a broken or risky cryptography vulnerability in espressif esp-idf. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: esp-idf >= 5.3.0, < 5.3.2, esp-idf >= 5.2.0, < 5.2.4, esp-idf >= 5.1.0, < 5.1.6 and 1 more (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.6, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:24 UTC.
What is CVE-2024-53845?
AES/CBC Constant IV Vulnerability in ESPTouch v2
ESPTouch is a connection protocol for internet of things devices. In the ESPTouchV2 protocol, while there is an option to use a custom AES key, there is no option to set the IV (Initialization Vector) prior to versions 5.3.2, 5.2.4, 5.1.6, and 5.0.8. The IV is set to zero and remains constant throughout the product's lifetime. In AES/CBC mode, if the IV is not properly initialized, the encrypted output becomes deterministic, leading to potential data leakage. To address the aforementioned issues, the application generates a random IV when activating the AES key starting in versions 5.3.2, 5.2.4, 5.1.6, and 5.0.8. This IV is then transmitted along with the provision data to the provision device. The provision device has also been equipped with a parser for the AES IV. The upgrade is applicable for all applications and users of ESPTouch v2 component from ESP-IDF. As it is implemented in the ESP Wi-Fi stack, there is no workaround for the user to fix the application layer without upgrading the underlying firmware.
From the CVE record by GitHub_M, last updated December 12, 2024, 16:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| espressif | esp-idf | >= 5.3.0, < 5.3.2 >= 5.2.0, < 5.2.4 >= 5.1.0, < 5.1.6 < 5.0.8 |
As the CVE record by GitHub_M states it, last updated December 12, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2024-53845?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.6 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-53845 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 12, 2024)
- EPSS
- 0.60% probability of exploitation activity in the next 30 days, percentile 49.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/espressif/esp-idf/security/advisories/GHSA-wm57-466g-mhrr x_refsource_CONFIRM
- https://github.com/espressif/esp-idf/commit/4f85a2726e04b737c8646d865b44ddd837b703db x_refsource_MISC
- https://github.com/espressif/esp-idf/commit/8fb28dcedcc49916a5206456a3a61022d4302cd8 x_refsource_MISC
- https://github.com/espressif/esp-idf/commit/d47ed7d6f814e21c5bc8997ab0bc68e2360e5cb2 x_refsource_MISC
- https://github.com/espressif/esp-idf/commit/de69895f38d563e22228f5ba23fffa02feabc3a9 x_refsource_MISC
- https://github.com/espressif/esp-idf/commit/fd224e83bbf133833638b277c767be7f7cdd97c7 x_refsource_MISC
- https://github.com/EspressifApp/EsptouchForAndroid/tree/master/esptouch-v2 x_refsource_MISC
- https://github.com/EspressifApp/EsptouchForIOS/tree/master/EspTouchDemo/ESPTouchV2 x_refsource_MISC
- https://github.com/espressif/esp-idf/tree/master/components/esp_wifi x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 22, 2024
- Published
- December 11, 2024, 22:35 UTC
- CVE record updated
- December 12, 2024, 16:35 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:09 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:24 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect esp-idf?
- Nov 17, 2026CVE-2026-113781 espressif esp-idf: signed to Unsigned Conversion Error
- Nov 4, 2026CVE-2026-113780 espressif esp-idf: out-of-bounds write (memory corruption)
- Nov 4, 2026CVE-2026-113783 espressif esp-idf: stack buffer overflow
- Nov 4, 2026CVE-2026-113782 espressif esp-idf: stack buffer overflow
- Oct 13, 2026CVE-2026-81507 espressif esp-idf: out-of-bounds read
- Sep 24, 2026CVE-2026-81508 espressif esp-idf: out-of-bounds read
- Jul 10, 2026CVE-2026-55687 espressif esp-idf: stack buffer overflow
- Jun 10, 2026CVE-2026-46532 espressif esp-idf: out-of-bounds read
Questions about CVE-2024-53845
Is CVE-2024-53845 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.60% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of espressif esp-idf are affected by CVE-2024-53845?
esp-idf >= 5.3.0, < 5.3.2, esp-idf >= 5.2.0, < 5.2.4, esp-idf >= 5.1.0, < 5.1.6 and esp-idf < 5.0.8, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2024-53845?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-53845?
Medium (6.6, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-53845?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.