Skip to content

CVE-2017-12864 Integer Overflow or Wraparound in OpenCV

HighCVSS 8.8 EPSS 2.7%
Published
Updated
Exploit status
No public exploit known

Description

In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function ReadNumber did not checkout the input length, which lead to integer overflow. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.

Affected products

ProductAffected versionsFixed in
pypi opencv-python(PyPI) < 3.3.1.11 3.3.1.11
pypi opencv-contrib-python(PyPI) < 3.3.1.11 3.3.1.11
pypi opencv-python(PyPI) <= 3.3.0.9 No fix listed
pypi opencv-contrib-python(PyPI) <= 3.3.0.9 No fix listed
debian/opencv(Debian:12) < 3.2.0+dfsg-6 3.2.0+dfsg-6
debian/opencv(Debian:13) < 3.2.0+dfsg-6 3.2.0+dfsg-6
debian/opencv(Debian:14) < 3.2.0+dfsg-6 3.2.0+dfsg-6
opencv <= 3.3.0 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed

References