CVE-2017-12864
HIGH8.8EPSS 1.7%Integer Overflow or Wraparound in OpenCV
Published: 10/12/2021Modified: 11/8/2023
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 (corresponding with OpenCV-Python version 3.3.0.9) and earlier.
Affected packages (3)
- Debian/opencvfrom 0, < 3.2.0+dfsg-6
- PyPI/opencv-contrib-pythonfrom 0, < 3.3.1.11
- PyPI/opencv-pythonfrom 0, < 3.3.1.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2017-12864
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2017-12864
- PATCHhttps://github.com/opencv/opencv-python
- WEBhttps://github.com/opencv/opencv/issues/9372
- WEBhttps://github.com/opencv/opencv/pull/9376
- WEBhttps://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- WEBhttps://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
- WEBhttps://security.gentoo.org/glsa/201712-02