CVE-2017-18009 json
Out-of-bounds Read in OpenCV
published 2018-01-01 8 y ago modified 2026-09-10 1 mo ago also GHSA-83rh-hx5x-q9p5 , PYSEC-2026-2810 , PYSEC-2026-702 , EUVD-2021-2175
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
In OpenCV 3.3.1, a heap-based buffer over-read exists in the function cv::HdrDecoder::checkSignature in modules/imgcodecs/src/grfmt_hdr.cpp.
Patch / fix
- pypi opencv-python 3.4.1.15
- pypi opencv-contrib-python 3.4.1.15
- opencv Debian 14, Debian 13, Debian 12 4.1.2+dfsg-3
debian advisories DEBIAN-CVE-2017-18009
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-18009 updated cvss 4.4
opencv: heap-based buffer over-read in function cv::HdrDecoder::checkSignature in modules/imgcodecs/src/grfmt_hdr.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-opencvnot 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.47% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | opencv-python | <3.4.1.15 |
3.4.1.15 |
| pypi | opencv-contrib-python | <3.4.1.15 |
3.4.1.15 |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/opencv/opencv/pull/10480/commits/4ca89db22dea962690f31c1781bce5937ee91837
web
-
securityfocus.com
/bid/106945
vdb-entry, web, third-party-advisory
-
github.com
/opencv/opencv/issues/10479
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-18009
advisory
-
github.com
/opencv/opencv-python
package
-
pypi.org
/project/opencv-python
package
-
github.com
/advisories/GHSA-83rh-hx5x-q9p5
advisory
-
pypi.org
/project/opencv-contrib-python
package
Sources
- CVE List CVE-2017-18009
- GitHub Advisory GHSA-83rh-hx5x-q9p5
- NVD CVE-2017-18009
- OSV PYSEC-2026-2810
- OSV PYSEC-2026-702
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.