CVE-2017-12863

NameCVE-2017-12863
DescriptionIn opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has a integer overflow when calculate src_pitch. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs875344

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opencv (PTS)wheezy2.3.1-11+deb7u1vulnerable
jessie2.4.9.1+dfsg-1+deb8u1vulnerable
buster, sid, stretch2.4.9.1+dfsg1-2vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
opencvsource(unstable)(unfixed)medium875344

Notes

https://github.com/opencv/opencv/issues/9371

Search for package or bug name: Reporting problems