CVE-2017-12864: debian debian_linux Integer Overflow or Wraparound
CVSS: 8.8v3.1HighModified
AliasesGHSA-267x-w5hx-8hjrPYSEC-2026-2804PYSEC-2026-697UBUNTU-CVE-2017-12864DEBIAN-CVE-2017-12864
Published 15-08-2017Last modified 05-08-2024
Vulnerability summary
CVE-2017-12864 is a high (CVSS 8.8) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 2.72% chance of exploitation in the next 30 days, higher than 85.8% of scored vulnerabilities.
CVSS score
8.8/10
010
High · v3.1 (NVD)EPSS score
2.72%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 3Timeline
- 15-08-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 3 versionsHigh 8.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
High 8.8Preferred score · OSV · Pypi (Ecosystem advisory) · calculated from vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 2 agree
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
2.72%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
0.00 pp
From 2.72% on 20-09-2026
20-09-202620-10-2026
EPSS score2.72%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- opencv< 3.2.0+dfsg-6
- debian_linuxEOL8.0 | 9.0
PyPI2 products
- opencv-contrib-python< 3.3.1.11
- opencv-python< 3.3.1.11
Opencv1 product
- opencv≤ 3.3.0
Ubuntu1 product
- opencv< 2.4.9.1+dfsg-1.5ubuntu1.1 | < 3.2.0+dfsg-4ubuntu0.1
4 vendors · 6 products
References
13 links- lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
- github.com/opencv/opencv/issues/9372X Refsource MISCIssue TrackingPatchThird Party AdvisoryWEBREPORT
- lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB