Every CVE Search/ Get API key

CVE-2019-14491

Out-of-bounds Read in OpenCV

8.2 HighFix available

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::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
High

Exploit likelihood

2.89%Up 1.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.2

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::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
CVE-2019-14491
CVSS 3.0
8.2 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
CVSS 2.0
6.4 MediumAV:N/AC:L/Au:N/C:P/I:N/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

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::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
CVE-2019-14491
Updated
2026-11-02
EUVDEUVD-2021-2195 No score

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::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
EUVD-2021-2195
Updated
2026-11-03
GitHub AdvisoriesGHSA-fm39-cw8h-3p63 8.2

Out-of-bounds Read in OpenCV

An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1 (OpenCV-Python before 3.4.7.28 and 4.x before 4.1.1.26). There is an out of bounds read in the function cv::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
GHSA-fm39-cw8h-3p63
CVSS 3.0
8.2 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 8.2

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::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
CVE-2019-14491
CVSS 3.0
8.2 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2019-14491 8.2

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::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
DEBIAN-CVE-2019-14491
CVSS 3.0
8.2 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
Show 13 moreShow less
OSVGHSA-fm39-cw8h-3p63 8.2

Out-of-bounds Read in OpenCV

An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1 (OpenCV-Python before 3.4.7.28 and 4.x before 4.1.1.26). There is an out of bounds read in the function cv::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
GHSA-fm39-cw8h-3p63
CVSS 3.0
8.2 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSVPYSEC-2026-2797 8.2

Out-of-bounds Read in OpenCV

An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1 (OpenCV-Python before 3.4.7.28 and 4.x before 4.1.1.26). There is an out of bounds read in the function cv::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
PYSEC-2026-2797
CVSS 3.0
8.2 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVPYSEC-2026-2818 8.2

Out-of-bounds Read in OpenCV

An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1 (OpenCV-Python before 3.4.7.28 and 4.x before 4.1.1.26). There is an out of bounds read in the function cv::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
PYSEC-2026-2818
CVSS 3.0
8.2 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVPYSEC-2026-2836 8.2

Out-of-bounds Read in OpenCV

An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1 (OpenCV-Python before 3.4.7.28 and 4.x before 4.1.1.26). There is an out of bounds read in the function cv::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
PYSEC-2026-2836
CVSS 3.0
8.2 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVPYSEC-2026-720 8.2

Out-of-bounds Read in OpenCV

An issue was discovered in OpenCV before 3.4.7 and 4.x before 4.1.1 (OpenCV-Python before 3.4.7.28 and 4.x before 4.1.1.26). There is an out of bounds read in the function cv::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
PYSEC-2026-720
CVSS 3.0
8.2 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2019-14491 8.2

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::predictOrderedcv::HaarEvaluator in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Record
UBUNTU-CVE-2019-14491
CVSS 3.0
8.2 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVMGASA-2020-0030 No score

Updated opencv packages fix security vulnerabilities

The updated packages fix security vulnerabilities:

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. (CVE-2019-14491)

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. (CVE-2019-14492)

An issue was discovered in OpenCV 4.1.0. There is a divide-by-zero error in cv::HOGDescriptor::getDescriptorSize in modules/objdetect/src/hog.cpp. (CVE-2019-15939)

Record
MGASA-2020-0030
Updated
2026-11-02
OSVopenSUSE-SU-2019:2671-1 No score

Security update for opencv

This update for opencv fixes the following issues:

Security issues fixed:

  • CVE-2019-14491: Fixed an out of bounds read in the function cv:predictOrderedcv:HaarEvaluator, leading to DOS (bsc#1144352).
  • CVE-2019-14492: Fixed an out of bounds read/write in the function HaarEvaluator:OptFeature:calc, which leads to denial of service (bsc#1144348).
  • CVE-2019-15939: Fixed a divide-by-zero error in cv:HOGDescriptor:getDescriptorSize (bsc#1149742).

Non-security issue fixed:

  • Fixed an issue in opencv-devel that broke builds with 'No rule to make target opencv_calib3d-NOTFOUND' (bsc#1154091).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:2671-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11115-1 No score

libopencv4_5-4.5.2-2.2 on GA media

These are all security issues fixed in the libopencv4_5-4.5.2-2.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11115-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11116-1 No score

libopencv3_4-3.4.10-3.3 on GA media

These are all security issues fixed in the libopencv3_4-3.4.10-3.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11116-1
Updated
2026-11-02
OSVSUSE-SU-2019:3192-1 No score

Security update for opencv

This update for opencv fixes the following issues:

Security issues fixed:

  • CVE-2019-14491: Fixed an out of bounds read in the function cv:predictOrderedcv:HaarEvaluator, leading to DOS (bsc#1144352).
  • CVE-2019-14492: Fixed an out of bounds read/write in the function HaarEvaluator:OptFeature:calc, which leads to denial of service (bsc#1144348).
  • CVE-2019-15939: Fixed a divide-by-zero error in cv:HOGDescriptor:getDescriptorSize (bsc#1149742).

Non-security issue fixed:

  • Fixed an issue in opencv-devel that broke builds with 'No rule to make target opencv_calib3d-NOTFOUND' (bsc#1154091).
Record
SUSE-SU-2019:3192-1
Updated
2026-11-02
OSVSUSE-SU-2019:3192-2 No score

Security update for opencv

This update for opencv fixes the following issues:

Security issues fixed:

  • CVE-2019-14491: Fixed an out of bounds read in the function cv:predictOrderedcv:HaarEvaluator, leading to DOS (bsc#1144352).
  • CVE-2019-14492: Fixed an out of bounds read/write in the function HaarEvaluator:OptFeature:calc, which leads to denial of service (bsc#1144348).
  • CVE-2019-15939: Fixed a divide-by-zero error in cv:HOGDescriptor:getDescriptorSize (bsc#1149742).

Non-security issue fixed:

  • Fixed an issue in opencv-devel that broke builds with 'No rule to make target opencv_calib3d-NOTFOUND' (bsc#1154091).
Record
SUSE-SU-2019:3192-2
Updated
2026-11-02
OSVUSN-4818-1 No score

opencv vulnerabilities

It was discovered that OpenCV did not properly manage certain objects, leading to a divide-by-zero. If a user were tricked into loading a specially crafted file, a remote attacker could potentially use this issue to cause a denial of service or possibly execute arbitrary code. (CVE-2019-15939)

It was discovered that OpenCV did not properly manage certain files, leading to an out of bounds read. If a user were tricked into loading a specially crafted file, a remote attacker could potentially use this issue to make OpenCV crash, resulting in a denial of service. This issue was only fixed in Ubuntu 18.04 ESM. (CVE-2019-14491, CVE-2019-14492)

It was discovered that OpenCV did not properly manage certain XML data, leading to a NULL pointer dereference. If a user were tricked into loading a specially crafted file, a remote attacker could potentially use this issue to make OpenCV crash, resulting in a denial of service. This issue was only fixed in Ubuntu 14.04 ESM and Ubuntu 16.04 ESM. (CVE-2019-14493)

It was discovered that OpenCV did not properly manage certain files, leading to a heap-based buffer overflow. If a user were tricked into loading a specially crafted file, a remote attacker could potentially use this issue to cause a denial of service or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 ESM. (CVE-2017-18009)

Record
USN-4818-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
opencv-python
PyPI
through 3.4.6.27
3.4.7.28
opencv-python
PyPI
4.0.0.21 to 4.1.0.25
4.1.1.26
opencv-python-headless
PyPI
through 3.4.6.27
3.4.7.28
opencv-python-headless
PyPI
4.0.0.21 to 4.1.0.25
4.1.1.26
opencv-contrib-python
PyPI
through 3.4.6.27
3.4.7.28
opencv-contrib-python
PyPI
4.0.0.21 to 4.1.0.25
4.1.1.26
opencv-contrib-python-headless
PyPI
through 3.4.6.27
3.4.7.28
opencv-contrib-python-headless
PyPI
4.0.0.21 to 4.1.0.25
4.1.1.26
opencv
Debian:12
before 4.1.2+dfsg-3
4.1.2+dfsg-3
opencv
Debian:13
before 4.1.2+dfsg-3
4.1.2+dfsg-3
Show 29 moreShow less
Affected packages
PackageAffectedFixed
opencv
Debian:14
before 4.1.2+dfsg-3
4.1.2+dfsg-3
opencv-python
PyPI
before 3.4.7.28, plus listed versions
3.4.0.143.4.1.153.4.2.173.4.3.183.4.4.193.4.5.203.4.6.27
3.4.7.28
opencv-python
PyPI
4.0.0.21 up to 4.1.1.26, plus listed versions
4.0.1.234.0.1.244.1.0.25
4.1.1.26
opencv-python-headless
PyPI
before 3.4.7.28, plus listed versions
3.4.3.183.4.4.193.4.5.203.4.6.27
3.4.7.28
opencv-python-headless
PyPI
4.0.0.21 up to 4.1.1.26, plus listed versions
4.0.1.244.1.0.25
4.1.1.26
opencv-contrib-python
PyPI
before 3.4.7.28, plus listed versions
3.4.2.173.4.3.183.4.4.193.4.5.203.4.6.27
3.4.7.28
opencv-contrib-python
PyPI
4.0.0.21 up to 4.1.1.26, plus listed versions
4.0.1.234.0.1.244.1.0.25
4.1.1.26
opencv-contrib-python-headless
PyPI
before 3.4.7.28, plus listed versions
3.4.0.143.4.2.173.4.3.183.4.4.193.4.5.203.4.6.27
3.4.7.28
opencv-contrib-python-headless
PyPI
4.0.0.21 up to 4.1.1.26, plus listed versions
4.0.1.234.0.1.244.1.0.25
4.1.1.26
opencv
Mageia:7
From an advisory covering 3 CVEs
before 3.4.5-2.1.mga7
3.4.5-2.1.mga7
opencv-contrib-python
PyPI
before 3.4.7.28, 4.0.0.21 up to 4.1.1.26, plus listed versions
3.4.2.173.4.3.183.4.4.193.4.5.203.4.6.274.0.1.234.0.1.244.1.0.25
3.4.7.284.1.1.26
opencv-python
PyPI
before 3.4.7.28, 4.0.0.21 up to 4.1.1.26, plus listed versions
3.4.0.143.4.1.153.4.2.163.4.2.173.4.3.18
Show 6 moreShow less
3.4.4.193.4.5.203.4.6.274.0.1.234.0.1.244.1.0.25
3.4.7.284.1.1.26
opencv-python-headless
PyPI
before 3.4.7.28, 4.0.0.21 up to 4.1.1.26, plus listed versions
3.4.3.183.4.4.193.4.5.203.4.6.274.0.1.244.1.0.25
3.4.7.284.1.1.26
opencv-contrib-python-headless
PyPI
before 3.4.7.28, 4.0.0.21 up to 4.1.1.26, plus listed versions
3.4.0.143.4.1.153.4.2.173.4.3.183.4.4.19
Show 5 moreShow less
3.4.5.203.4.6.274.0.1.234.0.1.244.1.0.25
3.4.7.284.1.1.26
opencv
SUSE:Linux Enterprise Module for Package Hub 15
From an advisory covering 3 CVEs
before 3.3.1-6.6.1
3.3.1-6.6.1
opencv
SUSE:Linux Enterprise Workstation Extension 15
From an advisory covering 3 CVEs
before 3.3.1-6.6.1
3.3.1-6.6.1
opencv
SUSE:Linux Enterprise Workstation Extension 15 SP1
From an advisory covering 3 CVEs
before 3.3.1-6.6.1
3.3.1-6.6.1
opencv
SUSE:Linux Enterprise Module for Package Hub 15 SP1
From an advisory covering 3 CVEs
before 3.3.1-6.6.1
3.3.1-6.6.1
opencv
SUSE:Linux Enterprise Module for Package Hub 15 SP2
From an advisory covering 3 CVEs
before 3.3.1-6.6.1
3.3.1-6.6.1
opencv
SUSE:Linux Enterprise Workstation Extension 15 SP2
From an advisory covering 3 CVEs
before 3.3.1-6.6.1
3.3.1-6.6.1
opencv
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
2.4.5+dfsg-0ubuntu42.4.5+dfsg-0ubuntu52.4.6.1+dfsg-2ubuntu22.4.6.1+dfsg-2ubuntu32.4.6.1+dfsg-2ubuntu4
Show 5 moreShow less
2.4.6.1+dfsg-2ubuntu52.4.8+dfsg-1ubuntu12.4.8+dfsg1-2ubuntu12.4.8+dfsg1-2ubuntu1.22.4.8+dfsg1-2ubuntu1.2+esm1
None known
opencv
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2.4.9+dfsg-1ubuntu62.4.9.1+dfsg-1.2ubuntu12.4.9.1+dfsg-1.3ubuntu12.4.9.1+dfsg-1.5ubuntu12.4.9.1+dfsg-1.5ubuntu1.12.4.9.1+dfsg-1.5ubuntu1.1+esm1
None known
opencv
Ubuntu:Pro:18.04:LTS
before 3.2.0+dfsg-4ubuntu0.1+esm2, plus listed versions
3.1.0+dfsg1-1~exp1ubuntu33.2.0+dfsg-33.2.0+dfsg-43.2.0+dfsg-4build13.2.0+dfsg-4build23.2.0+dfsg-4ubuntu0.1
3.2.0+dfsg-4ubuntu0.1+esm2
opencv
Ubuntu:Pro:14.04:LTS
From an advisory covering 5 CVEs
before 2.4.8+dfsg1-2ubuntu1.2+esm1, plus listed versions
2.4.5+dfsg-0ubuntu42.4.5+dfsg-0ubuntu52.4.6.1+dfsg-2ubuntu22.4.6.1+dfsg-2ubuntu32.4.6.1+dfsg-2ubuntu4
Show 4 moreShow less
2.4.6.1+dfsg-2ubuntu52.4.8+dfsg-1ubuntu12.4.8+dfsg1-2ubuntu12.4.8+dfsg1-2ubuntu1.2
2.4.8+dfsg1-2ubuntu1.2+esm1
opencv
Ubuntu:Pro:16.04:LTS
From an advisory covering 5 CVEs
before 2.4.9.1+dfsg-1.5ubuntu1.1+esm1, plus listed versions
2.4.9+dfsg-1ubuntu62.4.9.1+dfsg-1.2ubuntu12.4.9.1+dfsg-1.3ubuntu12.4.9.1+dfsg-1.5ubuntu12.4.9.1+dfsg-1.5ubuntu1.1
2.4.9.1+dfsg-1.5ubuntu1.1+esm1
opencv
Ubuntu:Pro:18.04:LTS
From an advisory covering 5 CVEs
before 3.2.0+dfsg-4ubuntu0.1+esm3, plus listed versions
3.1.0+dfsg1-1~exp1ubuntu33.2.0+dfsg-33.2.0+dfsg-43.2.0+dfsg-4build13.2.0+dfsg-4build23.2.0+dfsg-4ubuntu0.13.2.0+dfsg-4ubuntu0.1+esm2
3.2.0+dfsg-4ubuntu0.1+esm3
opencv
openSUSE:Leap 15.1
From an advisory covering 3 CVEs
before 3.3.1-lp151.6.3.1
3.3.1-lp151.6.3.1
opencv
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 4.5.2-2.2
4.5.2-2.2
opencv3
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 3.4.10-3.3
3.4.10-3.3

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-14491 is a high vulnerability (CVSS 8.2) in Opencv, published August 1, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.89%, the 86th percentile. Fixed in opencv-python 3.4.7.28.

References

Show 29 moreShow less
MoveEnter Open