In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file.
CVE-2018-5268
This medium-severity CVE scores 5.5 under NVD CVSS v3. EPSS exploit probability: 1.5%, top 28% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.5
- EG Score
- 5.5(medium)
- EG Risk
- 30(Track)EG Risk 30/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity55% × 45%Exploitation2% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 2%
- EPSS %ILE
- 72%
- KEV
- Not listed
Published
January 8, 2018
Last Modified
November 21, 2024
References (10)
- cve@mitrehttp://www.securityfocus.com/bid/106945
- cve@mitrehttps://github.com/opencv/opencv/issues/10541
- cve@mitrehttps://lists.debian.org/debian-lts-announce/2018/04/msg00019.html
- cve@mitrehttps://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- cve@mitrehttps://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
- af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/106945
- af854a3a-2127-422b-91ae-364da2661108https://github.com/opencv/opencv/issues/10541
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2018/04/msg00019.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
Affected Packages
(9 across 8 ecosystems)
PyPI(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| opencv-contrib-python | 3.1.0.0 ... 3.4.0.14 (8 versions) | 3.4.1.15 | — |
| opencv-python | 3.4.0.14 | 3.4.1.15 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| opencv | — | 3.2.0+dfsg-6 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| opencv | — | 3.2.0+dfsg-6 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| opencv | — | 3.2.0+dfsg-6 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| opencv | — | 3.2.0+dfsg-6 | — |
Debian:7(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| opencv | 2.3.1-11, 2.3.1-11+deb7u1, 2.3.1-11+deb7u2, 2.3.1-11+deb7u3 | 2.3.1-11+deb7u4 | — |
Debian:8(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| opencv | 2.4.9.1+dfsg-1, 2.4.9.1+dfsg-1+deb8u1 | 2.4.9.1+dfsg-1+deb8u2 | — |
Debian:9(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| opencv | 2.4.9.1+dfsg1-2 | 2.4.9.1+dfsg1-2+deb9u1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Frequently asked(5)
What is CVE-2018-5268?
When was CVE-2018-5268 disclosed?
Is CVE-2018-5268 actively exploited?
What is the CVSS score of CVE-2018-5268?
How do I remediate CVE-2018-5268?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-5268
Is Your Infrastructure Affected by CVE-2018-5268?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.