cve.bz

CVE-2019-14492 Out-of-bounds Read

7.5 highExploit referenceEPSS 3.0%Fix available

High (7.5). EPSS 3.0% estimated probability of exploitation activity in the next 30 days. Fixed in opencv-python 3.4.7.28, 4.1.1.26.

On this page
An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1. There is an out of bounds read/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.0% (unchanged from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-125 Out-of-bounds Read
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • opencv-python (PyPI): fixed in 3.4.7.28, 4.1.1.26
  • opencv-python-headless (PyPI): fixed in 3.4.7.28, 4.1.1.26
  • opencv-contrib-python (PyPI): fixed in 3.4.7.28, 4.1.1.26
  • opencv-contrib-python-headless (PyPI): fixed in 3.4.7.28, 4.1.1.26
  • Debian, Ubuntu, SUSE, openSUSE: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2019-14492 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-14492?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-14492?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-14492 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
opencv:opencvbefore 3.4.7
opencv:opencvfrom 4.0.0 before 4.1.1
opensuse:leap15.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fw99-f933-rgh8PyPIopencv-python<3.4.7.283.4.7.28
GHSA-fw99-f933-rgh8PyPIopencv-python>=4.0.0.21 <4.1.1.264.1.1.26
GHSA-fw99-f933-rgh8PyPIopencv-python-headless<3.4.7.283.4.7.28
GHSA-fw99-f933-rgh8PyPIopencv-python-headless>=4.0.0.21 <4.1.1.264.1.1.26
GHSA-fw99-f933-rgh8PyPIopencv-contrib-python<3.4.7.283.4.7.28
GHSA-fw99-f933-rgh8PyPIopencv-contrib-python>=4.0.0.21 <4.1.1.264.1.1.26
GHSA-fw99-f933-rgh8PyPIopencv-contrib-python-headless<3.4.7.283.4.7.28
GHSA-fw99-f933-rgh8PyPIopencv-contrib-python-headless>=4.0.0.21 <4.1.1.264.1.1.26
PYSEC-2026-2798PyPIopencv-contrib-python<3.4.7.28
>=4.0.0.21 <4.1.1.26
3.4.7.28, 4.1.1.26
PYSEC-2026-2821PyPIopencv-python<3.4.7.28
>=4.0.0.21 <4.1.1.26
3.4.7.28, 4.1.1.26
PYSEC-2026-2837PyPIopencv-python-headless<3.4.7.28
>=4.0.0.21 <4.1.1.26
3.4.7.28, 4.1.1.26
PYSEC-2026-721PyPIopencv-contrib-python-headless<3.4.7.28
>=4.0.0.21 <4.1.1.26
3.4.7.28, 4.1.1.26

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14opencv4.1.2+dfsg-3DEBIAN-CVE-2019-14492
UbuntuPro:14.04:LTS, Pro:16.04:LTSopencvno fix listedUBUNTU-CVE-2019-14492 USN-4818-1
UbuntuPro:18.04:LTSopencv3.2.0+dfsg-4ubuntu0.1+esm2UBUNTU-CVE-2019-14492 USN-4818-1
SUSELinux Enterprise Module for Package Hub 15, Linux Enterprise Workstation Extension 15, Linux Enterprise Workstation Extension 15 SP1opencv3.3.1-6.6.1SUSE-SU-2019:3192-1
SUSELinux Enterprise Module for Package Hub 15 SP1, Linux Enterprise Module for Package Hub 15 SP2, Linux Enterprise Workstation Extension 15 SP2opencv3.3.1-6.6.1SUSE-SU-2019:3192-2
openSUSELeap 15.1opencv3.3.1-lp151.6.3.1openSUSE-SU-2019:2671-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The versions of OpenCV as shipped with Red Hat Enterprise Linux 7 and 8 are affected by this flaw. Although it's technically possible that classifiers are loaded from untrusted sources, this is probably an unlikely case in practice.

Red Hat's mitigation

Avoid loading cascade classifiers from external untrusted sources.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6opencvOut of support scope
Red Hat Enterprise Linux 7opencvWill not fix
Red Hat Enterprise Linux 8opencvWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-14492.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON