HOMEVULNERABILITIESCVE-2017-12864
HIGH

CVE-2017-12864

CWE-190Published: August 15, 2017· Updated: Jun 17, 2026

8.8
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2017-12864 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 8.8.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected Vendors & Products

Debian1 product(s)
debian linux
opencv1 product(s)
opencv
Source: NVD CPE · 3 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (8)

https://github.com/opencv/opencv/issues/9372Issue Tracking · Patch · Third Party Advisory
https://github.com/opencv/opencv/issues/9372Issue Tracking · Patch · Third Party Advisory

Quick Facts

CVE IDCVE-2017-12864
CVSS Score8.8 / 10
SeverityHIGH
WeaknessCWE-190
CISA KEVNo
Affected2 vendor(s)
PublishedAug 15, 2017

Related CVEs (CWE-190)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2017-12864 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.