Integer Overflow or Wraparound in OpenCV
In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an 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 (corresponding to OpenCV-Python 3.3.0.9) and earlier.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2017-12863US | high8.8 | — | ||
In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an integer overflow when calculate src_pitch. If the image is from remote, may lead to remote code… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/opencv/opencv-pythonPACKAGE
- https://github.com/opencv/opencv/issues/9371WEB
- https://github.com/opencv/opencv/pull/9376WEB
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlWEB
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-12863ADVISORY
- https://security.gentoo.org/glsa/201712-02WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan