CVE-2017-12601

NameCVE-2017-12601
DescriptionOpenCV (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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1117-1
NVD severitymedium (attack range: remote)
Debian Bugs872044

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opencv (PTS)jessie2.4.9.1+dfsg-1+deb8u1vulnerable
stretch2.4.9.1+dfsg1-2vulnerable
buster, sid3.2.0+dfsg-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
opencvsource(unstable)(unfixed)medium872044
opencvsourcewheezy2.3.1-11+deb7u2mediumDLA-1117-1

Notes

[stretch] - opencv <no-dsa> (Minor issue)
https://github.com/opencv/opencv/issues/9309

Search for package or bug name: Reporting problems