PYSEC-2026-721

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/opencv-contrib-python-headless/PYSEC-2026-721.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-721
Aliases
Published
2026-07-02T14:13:12.762657Z
Modified
2026-07-06T08:00:49.647396401Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Out-of-bounds Read and Out-of-bounds Write in OpenCV
Details

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.

References

Affected packages

PyPI / opencv-contrib-python-headless

Package

Name
opencv-contrib-python-headless
View open source insights on deps.dev
Purl
pkg:pypi/opencv-contrib-python-headless

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.7.28
Introduced
4.0.0.21
Fixed
4.1.1.26

Affected versions

3.*
3.4.0.14
3.4.1.15
3.4.2.17
3.4.3.18
3.4.4.19
3.4.5.20
3.4.6.27
4.*
4.0.0.21
4.0.1.23
4.0.1.24
4.1.0.25

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/opencv-contrib-python-headless/PYSEC-2026-721.yaml"