CVE-2019-14492
Out-of-bounds Read and Out-of-bounds Write in OpenCV
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.
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
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2019-14492- 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 - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-125, CWE-787
- 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/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
- Record
CVE-2019-14492- Updated
- 2026-11-02
EUVDEUVD-2021-2200 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/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
- Record
EUVD-2021-2200- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fw99-f933-rgh8
7.5
Out-of-bounds Read and Out-of-bounds Write 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/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
- Record
GHSA-fw99-f933-rgh8- 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 - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2019-14492- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-14492
7.5
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.
- Record
DEBIAN-CVE-2019-14492- 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 - Updated
- 2026-11-02
Show 11 moreShow less
OSVGHSA-fw99-f933-rgh8
7.5
Out-of-bounds Read and Out-of-bounds Write 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/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
- Record
GHSA-fw99-f933-rgh8- 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 - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
OSVPYSEC-2026-2798
7.5
Out-of-bounds Read and Out-of-bounds Write 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/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
- Record
PYSEC-2026-2798- 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 - Updated
- 2026-11-02
OSVPYSEC-2026-2821
7.5
Out-of-bounds Read and Out-of-bounds Write 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/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
- Record
PYSEC-2026-2821- 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 - Updated
- 2026-11-02
OSVPYSEC-2026-2837
7.5
Out-of-bounds Read and Out-of-bounds Write 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/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
- Record
PYSEC-2026-2837- 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 - Updated
- 2026-11-02
OSVPYSEC-2026-721
7.5
Out-of-bounds Read and Out-of-bounds Write 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/write in the function HaarEvaluator::OptFeature::calc in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.
- Record
PYSEC-2026-721- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-14492
7.5
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.
- Record
UBUNTU-CVE-2019-14492- 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 - CVSS 3.0
- 8.2 High
CVSS: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
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
| Package | Affected | Fixed |
|---|---|---|
opencv-pythonPyPI |
through 3.4.6.27 | 3.4.7.28 |
opencv-pythonPyPI |
4.0.0.21 to 4.1.0.25 | 4.1.1.26 |
opencv-python-headlessPyPI |
through 3.4.6.27 | 3.4.7.28 |
opencv-python-headlessPyPI |
4.0.0.21 to 4.1.0.25 | 4.1.1.26 |
opencv-contrib-pythonPyPI |
through 3.4.6.27 | 3.4.7.28 |
opencv-contrib-pythonPyPI |
4.0.0.21 to 4.1.0.25 | 4.1.1.26 |
opencv-contrib-python-headlessPyPI |
through 3.4.6.27 | 3.4.7.28 |
opencv-contrib-python-headlessPyPI |
4.0.0.21 to 4.1.0.25 | 4.1.1.26 |
opencvDebian:12 |
before 4.1.2+dfsg-3 | 4.1.2+dfsg-3 |
opencvDebian:13 |
before 4.1.2+dfsg-3 | 4.1.2+dfsg-3 |
Show 27 moreShow less
| Package | Affected | Fixed |
|---|---|---|
opencvDebian:14 |
before 4.1.2+dfsg-3 | 4.1.2+dfsg-3 |
opencv-pythonPyPI |
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-pythonPyPI |
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-headlessPyPI |
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-headlessPyPI |
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-pythonPyPI |
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-pythonPyPI |
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-headlessPyPI |
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-headlessPyPI |
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 |
opencvMageia:7 From an advisory covering 3 CVEs |
before 3.4.5-2.1.mga7 | 3.4.5-2.1.mga7 |
opencv-contrib-pythonPyPI |
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-pythonPyPI |
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 less3.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-headlessPyPI |
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-headlessPyPI |
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 less3.4.5.203.4.6.274.0.1.234.0.1.244.1.0.25 |
3.4.7.284.1.1.26 |
opencvSUSE: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 |
opencvSUSE:Linux Enterprise Workstation Extension 15 From an advisory covering 3 CVEs |
before 3.3.1-6.6.1 | 3.3.1-6.6.1 |
opencvSUSE: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 |
opencvSUSE: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 |
opencvSUSE: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 |
opencvSUSE: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 |
opencvUbuntu: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 less2.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 |
opencvUbuntu: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 |
opencvUbuntu: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 |
opencvUbuntu: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 less2.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 |
opencvUbuntu: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 |
opencvUbuntu: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 |
opencvopenSUSE:Leap 15.1 From an advisory covering 3 CVEs |
before 3.3.1-lp151.6.3.1 | 3.3.1-lp151.6.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-14492 is a high vulnerability (CVSS 7.5) in Opencv, published August 1, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.02%, the 87th percentile. Fixed in opencv-python 3.4.7.28.
References
github.com/opencv/opencv/compare/33b765d...4a7ca5a
github.com/opencv/opencv/compare/371bba8...ddbd10c
github.com/opencv/opencv/issues/15124
lists.opensuse.org/opensuse-security-announce/2019-12/msg00025.html
nvd.nist.gov/vuln/detail/CVE-2019-14492
github.com/advisories/GHSA-fw99-f933-rgh8
Show 27 moreShow less
security-tracker.debian.org/tracker/CVE-2019-14492
github.com/opencv/opencv-python
advisories.mageia.org/MGASA-2020-0030.html
bugs.mageia.org/show_bug.cgi?id=25855
lists.suse.com/pipermail/sle-security-updates/2019-December/006214.html
lists.opensuse.org/opensuse-updates/2019-12/msg00073.html
pypi.org/project/opencv-contrib-python
pypi.org/project/opencv-python
pypi.org/project/opencv-python-headless
pypi.org/project/opencv-contrib-python-headless
suse.com/support/update/announcement/2019/suse-su-20193192-1
bugzilla.suse.com/1144348
bugzilla.suse.com/1144352
bugzilla.suse.com/1149742
bugzilla.suse.com/1154091
suse.com/security/cve/CVE-2019-14491
suse.com/security/cve/CVE-2019-14492
suse.com/security/cve/CVE-2019-15939
suse.com/support/update/announcement/2019/suse-su-20193192-2
ubuntu.com/security/CVE-2019-14492
ubuntu.com/security/notices/USN-4818-1
cve.org/CVERecord?id=CVE-2019-14492
ubuntu.com/security/CVE-2017-18009
ubuntu.com/security/CVE-2019-14491
ubuntu.com/security/CVE-2019-14493
ubuntu.com/security/CVE-2019-15939
lists.opensuse.org/archives/list/[email protected]/thread/JGAQFMV6GQEJ2HUR6FWVV3CJH3MNBECB