CVE-2025-65092 ESP32-P4 JPEG Decoder Header Parsing Vulnerability
A malicious JPEG image can trigger an out-of-bounds array access in the ESP32-P4 hardware JPEG decoder, potentially causing crashes or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-65092?
CVE-2025-65092 is a medium-severity memory corruption vulnerability in espressif esp-idf, published on 21 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2025-65092?
How do I fix CVE-2025-65092?
No fix has been published for CVE-2025-65092 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-65092 being exploited?
There is no known exploitation of CVE-2025-65092 in the wild and no public exploit code.
Sources
Also known as GHSA-vcw6-jc3p-4gj8.