Vulnerability · Published Jul 17, 2025 · Assigned by GitHub_M

CVE-2025-53644OpenCV contains a use after free buffer write due to an uninitialized pointer

Medium 6.6

In plain English

A medium-severity security flaw in opencv from opencv. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.6Medium
Exploit odds (30 days)0.4%top 61.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12opencv3.2.0+dfsg-1DEBIAN-CVE-2025-53644
Debian:13opencv3.2.0+dfsg-1DEBIAN-CVE-2025-53644
Debian:14opencv3.2.0+dfsg-1DEBIAN-CVE-2025-53644
Ubuntu:22.04:LTSopencvno fix listedUBUNTU-CVE-2025-53644
Ubuntu:24.04:LTSopencvno fix listedUBUNTU-CVE-2025-53644

Affected products (as reported)

VendorProductVersions
opencv opencv >= 4.10.0, < 4.12.0

Weakness: CWE-457 · Vector: CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

References