Skip to content
Fencer Intel
medium 6.5

CVE-2017-17760 json

Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV

published 2017-12-29 8 y ago modified 2026-09-10 1 mo ago also GHSA-jcxv-2j3h-mg59 , PYSEC-2026-2823 , PYSEC-2026-711 , EUVD-2021-2215

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.3%
EPSS 2.3% chance of exploitation in 30 days, percentile 83%
public exploits
0
none known

Summary

OpenCV 3.3.1 has a Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp, because an incorrect size value is used.

Patch / fix

  • pypi opencv-python 3.4.0.12
  • pypi opencv-contrib-python 3.4.0.12
  • opencv Debian 14, Debian 13, Debian 12 3.2.0+dfsg-6

debian advisories DEBIAN-CVE-2017-17760

  • opencv Ubuntu 16.04 LTS 2.4.9.1+dfsg-1.5ubuntu1.1
  • opencv Ubuntu 18.04 LTS 3.2.0+dfsg-4ubuntu0.1

ubuntu advisories UBUNTU-CVE-2017-17760

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-17760 updated cvss 4.4

opencv: Buffer Overflow in the cv::PxMDecoder::readData function in grfmt_pxm.cpp

  • Red Hat Enterprise Linux 6 opencv, opencv-python Red Hat Enterprise Linux 7 opencv, opencv-core, opencv-python Red Hat Enterprise Linux 8 opencv, opencv-core, opencv-contrib, python3-opencv
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.25% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P
GitHub 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
OSV 3.0 6.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
pypi opencv-python
<3.4.0.12
3.4.0.12
pypi opencv-contrib-python
<3.4.0.12
3.4.0.12

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.