cve.bz

CVE-2017-12864 Year 2038 problem, Y2K38, Y2038, Epochalypse

8.8 highEPSS 2.7%Fix available

High (8.8). EPSS 2.7% estimated probability of exploitation activity in the next 30 days. Fixed in opencv-python 3.3.1.11.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.7% (unchanged from 2.7% a week ago; 2.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-12864 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-12864?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-12864?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-12864 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
opencv:opencvthrough 3.3.0
debian:debian_linux8.0
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-267x-w5hx-8hjrPyPIopencv-python<3.3.1.113.3.1.11
GHSA-267x-w5hx-8hjrPyPIopencv-contrib-python<3.3.1.113.3.1.11
PYSEC-2026-2804PyPIopencv-python<3.3.1.113.3.1.11
PYSEC-2026-697PyPIopencv-contrib-python<3.3.1.113.3.1.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7opencv2.3.1-11+deb7u2DLA-1117-1
Debian8opencv2.4.9.1+dfsg-1+deb8u2DLA-1438-1
Debian9opencv2.4.9.1+dfsg1-2+deb9u1DLA-2799-1
Debian12, 13, 14opencv3.2.0+dfsg-6DEBIAN-CVE-2017-12864
Ubuntu16.04:LTSopencv2.4.9.1+dfsg-1.5ubuntu1.1UBUNTU-CVE-2017-12864
Ubuntu18.04:LTSopencv3.2.0+dfsg-4ubuntu0.1UBUNTU-CVE-2017-12864

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6opencvUnder investigation
Red Hat Enterprise Linux 7opencvUnder investigation

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-12864.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON