Skip to content

Out-of-bounds Read in OpenCV

High severity GitHub Reviewed Published Oct 12, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

pip opencv-contrib-python (pip)

Affected versions

<= 3.4.6.27
>= 4.0.0.21, <= 4.1.0.25

Patched versions

3.4.7.28
4.1.1.26
pip opencv-contrib-python-headless (pip)
<= 3.4.6.27
>= 4.0.0.21, <= 4.1.0.25
3.4.7.28
4.1.1.26
pip opencv-python (pip)
<= 3.4.6.27
>= 4.0.0.21, <= 4.1.0.25
3.4.7.28
4.1.1.26
pip opencv-python-headless (pip)
<= 3.4.6.27
>= 4.0.0.21, <= 4.1.0.25
3.4.7.28
4.1.1.26

Description

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.

References

Published by the National Vulnerability Database Aug 1, 2019
Reviewed Oct 7, 2021
Published to the GitHub Advisory Database Oct 12, 2021
Last updated Feb 1, 2023

Severity

High
8.2
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Weaknesses

CVE ID

CVE-2019-14491

GHSA ID

GHSA-fm39-cw8h-3p63

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.