Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2017-12864

opencv: Integer overflow in ReadNumber function in opencv/modules/imgcodecs/src/grfmt_pxm.cpp

Overview

Published
15 Aug 2017
Modified
17 Jun 2026
High CVE
2 Registry packages
5 OS packages
4 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

8.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-190

Affected packages · 2

Packages affected by CVE-2017-12864
EcosystemPackageVulnerableFixed in
PyPI opencv-contrib-python <3.3.1.11 3.3.1.11
PyPI opencv-python <3.3.1.11 3.3.1.11

Open a package to see all its vulnerabilities.

Operating systems · 9 fixes

Red Hat 1 release · 1 package

investigating 1
opencv
Red Hat fixes for CVE-2017-12864
ReleasePackageFixed in
7 opencv +4 investigating

debian 5 releases · 1 package

fixed 5
opencv
debian fixes for CVE-2017-12864
ReleasePackageFixed in
11 opencv 3.2.0+dfsg-6
12 opencv 3.2.0+dfsg-6
13 opencv 3.2.0+dfsg-6
14 opencv 3.2.0+dfsg-6
9 opencv 2.4.9.1+dfsg1-2+deb9u1

echo 1 release · 1 package

fixed 1
opencv
echo fixes for CVE-2017-12864
ReleasePackageFixed in
opencv 3.2.0+dfsg-6

ubuntu 2 releases · 1 package

fixed 2
opencv
ubuntu fixes for CVE-2017-12864
ReleasePackageFixed in
18.04 opencv 3.2.0+dfsg-4ubuntu0.1
18.04-ESM opencv 3.2.0+dfsg-4ubuntu0.1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.