Advisory

GHSA-89rj-5ggj-3p9p

Also known as: CVE-2018-5269, PYSEC-2026-2812, 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: The source's own band: MODERATE

Dates

Published
2021-10-12 22:03 UTC
Modified
2026-09-10 03:49 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

opencv-contrib-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-contrib-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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences