VDB
CVE-2018-5268
CVE-2018-5268
PUBLISHED
CVSS 5.5 MEDIUM
Out-of-bounds Write in OpenCV.
Reported by mitre · Published January 8, 2018
opencv-python is fixed in 3.4.1.15 and 3.3.1.11 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| opencv-python | PyPI | 3.4.1.15, 3.3.1.11 |
| opencv-contrib-python | PyPI | 3.4.1.15, 3.3.1.11 |
Risk scores
CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | opencv-python | 0 |
| n/a | n/a | * |
| PyPI | opencv-contrib-python | 0 |
Timeline
- Jan 8, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory
- Jul 2, 2026 CVE Updated
- Sep 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-5268
vulnetix vdb fixes CVE-2018-5268
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-5268/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20180722 [SECURITY] [DLA 1438-1] opencv security update mailing-listx_refsource_MLIST
- 106945 vdb-entryx_refsource_BID
- x_refsource_MISC
- [debian-lts-announce] 20180418 [SECURITY] [DLA 1354-1] opencv security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20211030 [SECURITY] [DLA 2799-1] opencv security update mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2018-5268 advisory
- https://github.com/opencv/opencv/pull/10566/commits/435a3e337bd9d4e11af61cf8b8afca067bf1a8aa patch
- https://github.com/advisories/GHSA-9g8h-pjm4-q92p advisory