CVE-2018-5268
publishedopencv: Heap-based buffer overflow in cv::Jpeg2KDecoder::readComponent8u
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | opencv | Advisory build | 2.4.9.1+dfsg-1+deb8u2 | DLA-1438-1 |
| Debian | stretch | opencv | Advisory build | 2.4.9.1+dfsg1-2+deb9u1 | DLA-2799-1 |
| Debian | wheezy | opencv | Advisory build | 2.3.1-11+deb7u4 | DLA-1354-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- 106945 http://www.securityfocus.com/bid/106945
- https://github.com/opencv/opencv/issues/10541
- [debian-lts-announce] 20180418 [SECURITY] [DLA 1354-1] opencv security update https://lists.debian.org/debian-lts-announce/2018/04/msg00019.html
- [debian-lts-announce] 20180722 [SECURITY] [DLA 1438-1] opencv security update https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- [debian-lts-announce] 20211030 [SECURITY] [DLA 2799-1] opencv security update https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0b3e9e47157bd80cb8dafb93c9e347c16ef41673a55bcde82eef528497956801
- Ingested
- 23 Sep 2026, 07:44:52 UTC
- Source record
- Official CVE record