Skip to content
OpenAdvisories
High · 8.2 CVE-2019-14491 EUVD-2021-2195GHSA-fm39-cw8h-3p63PYSEC-2026-2797PYSEC-2026-2818PYSEC-2026-2836PYSEC-2026-720

Out-of-bounds Read in OpenCV

Published Aug 1, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. There is an out of bounds read in the function cv::predictOrdered<cv::HaarEvaluator> in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

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 4.1.2+dfsg-3 —
Debian 13 opencv 4.1.2+dfsg-3 —
Debian 12 opencv 4.1.2+dfsg-3 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS opencv 3.2.0+dfsg-4ubuntu0.1+esm2 USN-4818-1
Ubuntu Pro 16.04 LTS opencv 2.4.9.1+dfsg-1.5ubuntu1.1+esm1 USN-4818-1
Ubuntu Pro 14.04 LTS opencv 2.4.8+dfsg1-2ubuntu1.2+esm1 USN-4818-1
ReleasePackageFixed inAdvisory
SLES 15 SP2 opencv 3.3.1-6.6.1 SUSE-SU-2019:3192-2
SLES 15 SP1 opencv 3.3.1-6.6.1 SUSE-SU-2019:3192-2, SUSE-SU-2019:3192-1
SLES 15 opencv 3.3.1-6.6.1 SUSE-SU-2019:3192-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed opencv 4.5.2-2.2 openSUSE-SU-2024:11115-1
openSUSE Tumbleweed opencv3 3.4.10-3.3 openSUSE-SU-2024:11116-1
openSUSE Leap 15.1 opencv 3.3.1-lp151.6.3.1 openSUSE-SU-2019:2671-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI opencv-contrib-python < 3.4.7.28 3.4.7.28 GHSA-fm39-cw8h-3p63
PyPI opencv-contrib-python >= 4.0.0.21, < 4.1.1.26 4.1.1.26 GHSA-fm39-cw8h-3p63
PyPI opencv-contrib-python < 3.4.7.28 · >= 4.0.0.21, < 4.1.1.26 3.4.7.28, 4.1.1.26 PYSEC-2026-2797
PyPI opencv-contrib-python-headless < 3.4.7.28 3.4.7.28 GHSA-fm39-cw8h-3p63
PyPI opencv-contrib-python-headless >= 4.0.0.21, < 4.1.1.26 4.1.1.26 GHSA-fm39-cw8h-3p63
PyPI opencv-contrib-python-headless < 3.4.7.28 · >= 4.0.0.21, < 4.1.1.26 3.4.7.28, 4.1.1.26 PYSEC-2026-720
PyPI opencv-python < 3.4.7.28 3.4.7.28 GHSA-fm39-cw8h-3p63
PyPI opencv-python >= 4.0.0.21, < 4.1.1.26 4.1.1.26 GHSA-fm39-cw8h-3p63
PyPI opencv-python < 3.4.7.28 · >= 4.0.0.21, < 4.1.1.26 3.4.7.28, 4.1.1.26 PYSEC-2026-2818
PyPI opencv-python-headless < 3.4.7.28 3.4.7.28 GHSA-fm39-cw8h-3p63
PyPI opencv-python-headless >= 4.0.0.21, < 4.1.1.26 4.1.1.26 GHSA-fm39-cw8h-3p63
PyPI opencv-python-headless < 3.4.7.28 · >= 4.0.0.21, < 4.1.1.26 3.4.7.28, 4.1.1.26 PYSEC-2026-2836

Advisories 6

References