{"schemaVersion":3,"id":"CVE-2017-1000450","aliases":["GHSA-m43c-649m-pm48","PYSEC-2026-2825","PYSEC-2026-712","UBUNTU-CVE-2017-1000450","DEBIAN-CVE-2017-1000450"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-01-02T17:00:00.000Z","modified":"2024-08-05T22:00:41.401Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.03261,"percentile":0.8822,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03261},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03261,"percentile":0.8822}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03261,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03261,"percentile":0.8822}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_BLENDIN_POCS","name":"Pocs","source":"github","url":"https://github.com/blendin/pocs/blob/master/opencv/0.OOB_Write_FillUniColor","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"GITHUB_OPENCV_OPENCV","name":"Opencv","source":"github","url":"https://github.com/opencv/opencv/issues/9723","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"debian","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/opencv","purlType":"deb","versions":[{"text":"< 3.2.0+dfsg-6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.0+dfsg-6","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"opencv","name":"opencv","label":"opencv","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/opencv","purlType":"deb","versions":[{"text":"< 2.4.9.1+dfsg-1.5ubuntu1.1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.0+dfsg-4ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.9.1+dfsg-1.5ubuntu1.1 | < 3.2.0+dfsg-4ubuntu0.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 8.0 | 9.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"opencv","product":"opencv","name":"opencv","label":"opencv","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.3.0","eol":null,"hubHref":"/vendor/opencv/opencv"},{"vendor":"PyPI","product":"opencv-contrib-python","name":"opencv-contrib-python","label":"opencv-contrib-python","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/opencv-contrib-python","purlType":"pypi","versions":[{"text":"< 3.3.1.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.1.11","eol":null,"hubHref":null},{"vendor":"PyPI","product":"opencv-python","name":"opencv-python","label":"opencv-python","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/opencv-python","purlType":"pypi","versions":[{"text":"< 3.3.1.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.1.11","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","label":"lists.debian.org/debian-lts-announce/2018/07/msg00030.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory","WEB"]},{"url":"https://github.com/blendin/pocs/blob/master/opencv/0.OOB_Write_FillUniColor","label":"github.com/blendin/pocs/blob/master/opencv/0.OOB_Write_FillUniColor","hostname":"github.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","WEB","REPORT"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00008.html","label":"lists.debian.org/debian-lts-announce/2018/01/msg00008.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory","WEB"]},{"url":"https://github.com/opencv/opencv/issues/9723","label":"github.com/opencv/opencv/issues/9723","hostname":"github.com","tags":["X Refsource MISC","Exploit","Issue Tracking","Third Party Advisory","WEB","REPORT"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","label":"lists.debian.org/debian-lts-announce/2021/10/msg00028.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000450","label":"nvd.nist.gov/vuln/detail/CVE-2017-1000450","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/opencv/opencv/pull/9726/commits/c58152d94ba878b2d7d76bcac59146312199b9eb","label":"github.com/opencv/opencv/pull/9726/commits/c58152d94ba878b2d7d76bcac59146312199b9eb","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/opencv/opencv-python","label":"github.com/opencv/opencv-python","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/opencv-python","label":"pypi.org/project/opencv-python","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-m43c-649m-pm48","label":"github.com/advisories/GHSA-m43c-649m-pm48","hostname":"github.com","tags":["Advisory"]},{"url":"https://pypi.org/project/opencv-contrib-python","label":"pypi.org/project/opencv-contrib-python","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://ubuntu.com/security/CVE-2017-1000450","label":"ubuntu.com/security/CVE-2017-1000450","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-1000450","label":"www.cve.org/CVERecord?id=CVE-2017-1000450","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-1000450","label":"security-tracker.debian.org/tracker/CVE-2017-1000450","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1235-1","DLA-1438-1","DLA-2799-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-01-02T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T22:00:41.401Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:06:46.810Z","stale":false,"partial":false}}