cve.bz

CVE-2017-12598

8.8 highEPSS 2.0%

OpenCV (Open Source Computer Vision Library) through 3.3 has an out-of-bounds read error in the cv::RBaseStream::readBlock function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 8-opencv-invalid-read-fread test case.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.0% chance of exploitation in the next 30 days; higher than 80% of CVEs (scores of 2026-10-31)
CWE
CWE-125
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-33h2-69j3-r336PyPIopencv-python<3.3.1.113.3.1.11
GHSA-33h2-69j3-r336PyPIopencv-contrib-python<3.3.1.113.3.1.11
PYSEC-2026-2805PyPIopencv-python<3.3.1.113.3.1.11
PYSEC-2026-698PyPIopencv-contrib-python<3.3.1.113.3.1.11

References

Check your stackJSON