CVE-2018-5268
MEDIUM5.5EPSS 0.34%opencv - security update
Published: 10/12/2021Modified: 4/28/2026
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.
Affected packages (4)
- Debian/opencvfrom 0, < 3.2.0+dfsg-6
- Debian/opencvfrom 0, < 2.3.1-11+deb7u4
- PyPI/opencv-contrib-pythonfrom 0, < 3.4.1.15
- PyPI/opencv-pythonfrom 0, < 3.4.1.15
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-5268
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-5268
- PATCHhttps://github.com/opencv/opencv-python
- WEBhttps://github.com/opencv/opencv/issues/10541
- WEBhttps://github.com/opencv/opencv/pull/10566/commits/435a3e337bd9d4e11af61cf8b8afca067bf1a8aa
- WEBhttps://lists.debian.org/debian-lts-announce/2018/04/msg00019.html
- WEBhttps://lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- WEBhttps://lists.debian.org/debian-lts-announce/2021/10/msg00028.html
- WEBhttp://www.securityfocus.com/bid/106945