CVE-2025-65092: ESP32-P4 JPEG Decoder Header Parsing Vulnerability
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.5.1, 5.4.3, and 5.3.4, when the ESP32-P4 uses its hardware JPEG decoder, the software parser lacks necessary validation checks. A specially crafted (malicious) JPEG image could exploit the parsing routine and trigger an out-of-bounds array access. This issue has been fixed in versions 5.5.2, 5.4.4, and 5.3.5. At time of publication versions 5.5.2, 5.4.4, and 5.3.5 have not been released but are fixed respectively in commits 4b8f585, c79cb4d, and 34e2726.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-65092?
CVE-2025-65092 is considered a critical vulnerability due to the potential for remote code execution via malicious JPEG images.
How do I fix CVE-2025-65092?
To fix CVE-2025-65092, update to the latest version of Espressif ESF-IDF that addresses the validation checks in the hardware JPEG decoder.
Which versions of ESP-IDF are affected by CVE-2025-65092?
CVE-2025-65092 affects Espressif ESF-IDF versions 5.3.4, 5.4.3, and 5.5.1.
What are the risks associated with CVE-2025-65092?
The risks associated with CVE-2025-65092 include exploitation through specially crafted JPEG images leading to potential arbitrary code execution.
Is there a workaround for CVE-2025-65092 until it is patched?
A temporary workaround for CVE-2025-65092 may include disabling the use of the hardware JPEG decoder in the affected versions.