CVE-2017-12601

opencv: buffer overflow in the cv::BmpDecoder::readData function

Published Aug 7, 2017 CVSS 3.1 · 8.8 High EPSS 2.1% KEV · Not listed
Description
OpenCV (Open Source Computer Vision Library) through 3.3 has a buffer overflow in the cv::BmpDecoder::readData function in modules/imgcodecs/src/grfmt_bmp.cpp when reading an image file by using cv::imread, as demonstrated by the 4-buf-overflow-readData-memcpy 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-2264 OpenCV (Open Source Computer Vision Library) through 3.3 has a buffer overflow in the cv::BmpDecoder::readData function in modules/imgcodecs/src/grfmt_bmp.cpp when reading an image file by using cv::imread, as demonstrated by the 4-buf-overflow-readData-memcpy test case.
Github GHSA Github GHSA GHSA-w96g-3p64-63wr Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00426}

epss

{'score': 0.00694}

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