Skip to content
OpenAdvisories
Medium · 6.6 CVE-2025-53644 EUVD-2025-21795

OpenCV contains a use after free buffer write due to an uninitialized pointer

Published Jul 17, 2025 · Updated Sep 26, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
opencv opencv >= 4.10.0, < 4.12.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 opencv 3.2.0+dfsg-1 —
Debian 13 opencv 3.2.0+dfsg-1 —
Debian 12 opencv 3.2.0+dfsg-1 —

References