Integer Overflow or Wraparound Affecting opencv package, versions <2.4.9.1+dfsg1-2+deb9u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.8% (82nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN9-OPENCV-293963
  • published15 Aug 2017
  • disclosed15 Aug 2017

Introduced: 15 Aug 2017

CVE-2017-12864  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Debian:9 opencv to version 2.4.9.1+dfsg1-2+deb9u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opencv package and not the opencv package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

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.

CVSS Scores

version 3.1