Integer Overflow or Wraparound Affecting opencv package, versions <2.4.9.1+dfsg-1.5ubuntu1.1
Threat Intelligence
EPSS
0.89% (83rd
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 ID SNYK-UBUNTU1604-OPENCV-294008
- published 15 Aug 2017
- disclosed 15 Aug 2017
Introduced: 15 Aug 2017
CVE-2017-12863 Open this link in a new tabHow to fix?
Upgrade Ubuntu:16.04 opencv to version 2.4.9.1+dfsg-1.5ubuntu1.1 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 Ubuntu.
See How to fix? for Ubuntu:16.04 relevant fixed versions and status.
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 and earlier.
References
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-12863
- https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- https://security-tracker.debian.org/tracker/CVE-2017-12863
- https://security.gentoo.org/glsa/201712-02
- https://github.com/opencv/opencv/issues/9371
- https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
CVSS Scores
version 3.1