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.
Problem types
CWE-191: Integer Underflow (Wrap or Wraparound)
Product status
= 5.4.3
= 5.3.4
References
github.com/...sp-idf/security/advisories/GHSA-vcw6-jc3p-4gj8
github.com/...ommit/34e2726254201988e6e2752b2db4b70d73964d4c
github.com/...ommit/4b8f5859dbe05d15372558f8a950b49f6ee44e42
github.com/...ommit/c38a6691b9845ac6ee0d0f6713783114770cdc17
github.com/...ommit/c79cb4de468854937a0cbf82629fd65d04bffb27