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.
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
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.00426}

epss

{'score': 0.00694}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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

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

Link: CVE-2017-12601

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

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

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

Link: CVE-2017-12601

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2017-12601 - Bugzilla

cve-icon OpenCVE Enrichment

No data.