Skip to content
Fencer Vulns
high 8.8

CVE-2017-1000450 json

Integer Overflow or Wraparound in OpenCV.

published 2018-01-02 8 y ago modified 2026-09-10 1 mo ago also GHSA-m43c-649m-pm48 , PYSEC-2026-2825 , PYSEC-2026-712 , EUVD-2021-2221

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

Summary

In opencv/modules/imgcodecs/src/utils.cpp, functions FillUniColor and FillUniGray do not check the input length, which can 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.

Patch / fix

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

debian advisories DEBIAN-CVE-2017-1000450

  • 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-1000450

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-1000450 updated cvss 7.0

opencv: out of bounds write in functions FillUniColor and FillUniGray in opencv/modules/imgcodecs/src/utils.cpp

  • Red Hat Enterprise Linux 6 opencv, opencv-python Red Hat Enterprise Linux 7 opencv, opencv-core, opencv-python
    affected: no fix planned “Will not fix”
  • 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

3.26% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/blendin/pocs/blob/master/opencv/0.OOB_Write_FillUniColor referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/opencv/opencv/issues/9723 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

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

Affected packages

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

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns 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.