What’s Vulnerable › Vulnerabilities
CVE-2025-53644: OpenCV contains a use after free buffer write due to an uninitialized pointer
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-07-17 · updated 2026-06-17
- Weakness: CWE-457
Description
OpenCV is an Open Source Computer Vision Library. Versions 4.10.0 and 4.11.0 have an uninitialized pointer variable on stack that may lead to arbitrary heap buffer write when reading crafted JPEG images. Version 4.12.0 fixes the vulnerability.
Affected products
- OpenCV 3.0.0: from 4.10.0 before 4.12.0 — fixed in 4.12.0
How to fix
Upgrade to a fixed version: OpenCV 3.0.0 4.12.0. Check the vendor advisory for mitigations.
References
- https://github.com/opencv/opencv/commit/a39db41390de546d18962ee1278bd6dbb715f466
- https://github.com/opencv/opencv/issues/27271
- https://github.com/opencv/opencv/releases/tag/4.12.0
- https://securitylab.github.com/advisories/GHSL-2025-057_OpenCV/
Get alerted when CVE-2025-53644 or the next vulnerability affects your stack