Advisory

PYSEC-2026-2818

Also known as: CVE-2019-14491, GHSA-fm39-cw8h-3p63, PYSEC-2026-2797, PYSEC-2026-2836, PYSEC-2026-720

Summary

Out-of-bounds Read 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 in the function cv::predictOrdered<cv::HaarEvaluator> in modules/objdetect/src/cascadedetect.hpp, which leads to denial of service.

Severity

High Basis: CVSS v3 score 8.2, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Dates

Published
2026-07-09 16:49 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

opencv-python

PyPI · All systems

Affected

  • introduced 0, fixed 3.4.7.28, introduced 4.0.0.21, fixed 4.1.1.26 (ecosystem)

Fixed versions

3.4.7.28, 4.1.1.26

Fix

  • Fixed version 3.4.7.28
    pip install --upgrade opencv-python==3.4.7.28
  • Fixed version 4.1.1.26
    pip install --upgrade opencv-python==4.1.1.26

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences