Live threats

All CVEs / Opencv

CVE-2018-5269Opencv

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 72
Auth required
Yes
Published
Jan 8, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-617
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

In OpenCV 3.3.1, an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp because of an incorrect integer cast.

Original NVD text.

What to do

  1. Apply the vendor's security update for Opencv.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI opencv-contrib-python < 3.4.1.15 3.4.1.15 pip install "opencv-contrib-python>=3.4.1.15"
PyPI opencv-contrib-python < 3.4.1.15 3.4.1.15 pip install "opencv-contrib-python>=3.4.1.15"
PyPI opencv-python < 3.4.1.15 3.4.1.15 pip install "opencv-python>=3.4.1.15"
PyPI opencv-python < 3.4.1.15 3.4.1.15 pip install "opencv-python>=3.4.1.15"

Per OSV / GitHub Advisories (GHSA-89rj-5ggj-3p9p, PYSEC-2026-703, PYSEC-2026-2812). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
opencvopencv3.3.1
debiandebian_linux7.0
debiandebian_linux8.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.