Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.8

CVE-2025-65092: ESP32-P4 hardware JPEG decoder can be crashed by crafted image

CVE-2025-65092 · published 1 year ago
Summary

The ESP-IDF development framework versions 5.5.1, 5.4.3, and 5.3.4 do not properly check data when the ESP32-P4 chip uses its built‑in JPEG decoder. A malicious JPEG picture could cause the decoder to read memory it shouldn't, which may crash the device or allow unwanted actions. Update the ESP-IDF to the newer releases (5.5.2, 5.4.4, or 5.3.5) as soon as they are available to fix the issue.

Original advisory text
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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
7.8 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-125Out-of-bounds Read
CWE-191Integer Underflow (Wrap or Wraparound)
Timeline
Published21 Nov 2025
Updated22 Nov 2026
First seen7 Mar 2026
Sources
Track software like this
Free during beta