Read the docs
TI-2024-36041 Aliases CVE-2024-53845

AES/CBC Constant IV Vulnerability in ESPTouch v2

Priority LOW 30CWE-327Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-327.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00596 48th percentileScored 2026-11-07
Fix Fixed esp-idf (espressif): 5.3.2, 5.2.4, 5.1.6 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
espressifesp-idf5.3.0 to before 5.3.2; 5.2.0 to before 5.2.4; 5.1.0 to before 5.1.6; before 5.0.85.3.2, 5.2.4, 5.1.6, 5.0.8Patch availableCNA
  • esp-idf Vendorespressif Affected 5.3.0 to before 5.3.2; 5.2.0 to before 5.2.4; 5.1.0 to before 5.1.6; before 5.0.8 Fixed in 5.3.2, 5.2.4, 5.1.6, 5.0.8 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:*——espressif
  • cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:* Versions — — ·espressif

Remediation

  • Fix · CNA esp-idf (espressif) Fixed in 5.3.2, 5.2.4, 5.1.6, 5.0.8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-53845

References

  • TI-2026-31061 arduino-esp32: Stack buffer overflow in WebServer multipart boundary parsing leads to remote crash potential RCE CVSS 3.1CRITICAL 9.8
  • TI-2024-30765 Multiple Poisoned Pipeline Execution (PPE) vulnerabilities CVSS 3.1CRITICAL 10.0
  • TI-2026-30028 Improper validation of NBNS name_len in arduino-esp32 NetBIOS leads to memory corruption CVSS 3.1HIGH 8.8
  • TI-2025-33484 CSRF Vulnerability in Firmware Update Endpoints Allows Remote Code Execution CVSS 4.0HIGH 8.7
  • TI-2024-22076 Buffer Overflow vulnerability in esp-idf v.5.1 allows a remote attacker to execute… CVSS 3.1MEDIUM 6.5
  • TI-2025-33011 arduino-esp32 vulnerable to CRLF injection in WebServer.cpp CVSS 4.0HIGH 8.9
See all 58 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences