Advisory

PYSEC-2026-2812

Also known as: CVE-2018-5269, GHSA-89rj-5ggj-3p9p, PYSEC-2026-703

Summary

Reachable Assertion in OpenCV.

Details

In OpenCV 3.3.1 (corresponds with OpenCV-Python 3.3.1.11), an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp because of an incorrect integer cast.

Severity

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

Dates

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

Affected packages and fixes

opencv-python

PyPI · All systems

Affected

  • introduced 0, fixed 3.4.1.15 (ecosystem)

Fixed versions

3.4.1.15

Fix

  • Fixed version 3.4.1.15
    pip install --upgrade opencv-python==3.4.1.15

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