Generation of Weak Initialization Vector (IV) in ESP-IDF - CVE-2024-53845
Published: December 11, 2024 / Updated: May 13, 2026
ESP-IDF
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to generation of a weak initialization vector in the ESPTouch v2 protocol implementation in the ESP Wi-Fi component when encrypting provisioning data with AES/CBC. A remote attacker can observe deterministic ciphertext produced with a constant zero IV to disclose sensitive information.
The issue occurs when the optional custom AES key feature is used.