OpenCV (Open Source Computer Vision Library) through 3.3 has an invalid write in the cv::RLByteStream::getBytes function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 2-opencv-heapoverflow-fseek test case.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-1117-1 opencv security update
Debian DLA Debian DLA DLA-1438-1 opencv security update
Debian DLA Debian DLA DLA-2799-1 opencv security update
EUVD EUVD EUVD-2021-2171 OpenCV (Open Source Computer Vision Library) through 3.3 has an invalid write in the cv::RLByteStream::getBytes function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 2-opencv-heapoverflow-fseek test case.
Github GHSA Github GHSA GHSA-6v6p-p97v-g2p7 Out-of-bounds Write in OpenCV
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00408}

epss

{'score': 0.00665}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T18:43:56.180Z

Reserved: 2017-08-06T00:00:00

Link: CVE-2017-12603

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-08-07T01:29:00.577

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-12603

cve-icon Redhat

Severity : Moderate

Publid Date: 2017-08-05T00:00:00Z

Links: CVE-2017-12603 - Bugzilla

cve-icon OpenCVE Enrichment

No data.