CVEfocus › CVE database › CVE-2017-12601

CVE-2017-12601

CVSS 8.8 HighEPSS 2.1% (higher than 82% of CVEs)Published 2017-08-07Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
9Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04opencvFixed3.2.0+dfsg-4ubuntu0.1UBUNTU-CVE-2017-12601
Ubuntu 16.04opencvFixed2.4.9.1+dfsg-1.5ubuntu1.1UBUNTU-CVE-2017-12601
Debian 14opencvFixed3.2.0+dfsg-6DEBIAN-CVE-2017-12601
Debian 13opencvFixed3.2.0+dfsg-6DEBIAN-CVE-2017-12601
Debian 12opencvFixed3.2.0+dfsg-6DEBIAN-CVE-2017-12601
Red Hat Enterprise Linux 7opencvWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-coreWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-develWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-devel-docsWill not fix
Will not fix
Red Hat Enterprise Linux 7opencv-pythonWill not fix
Will not fix
Red Hat Enterprise Linux 6opencvWill not fix
Will not fix
Red Hat Enterprise Linux 6opencv-develWill not fix
Will not fix
Red Hat Enterprise Linux 6opencv-devel-docsWill not fix
Will not fix
Red Hat Enterprise Linux 6opencv-pythonWill not fix
Will not fix
PyPI libraryopencv-contrib-pythonFixed3.3.1.11PYSEC-2026-716
PyPI libraryopencv-pythonFixed3.3.1.11GHSA-w96g-3p64-63wr

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.