CVE-2017-12603

opencv: invalid write in the cv::RLByteStream::getBytes function

Published Aug 7, 2017 CVSS 3.1 · 8.8 High EPSS 2.0% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00408}

epss

{'score': 0.00665}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 6:43 PM
Reserved
Aug 6, 2017, 12:00 AM
Status
Modified
Published
Aug 7, 2017, 1:29 AM
Modified
Jun 17, 2026, 1:03 AM
Severity
Moderate
Public date
Aug 5, 2017, 12:00 AM