CVE-2018-5268: debian debian_linux Out-of-bounds Write
Vulnerability summary
CVE-2018-5268 is a medium (CVSS 5.5) Out-of-bounds Write vulnerability in debian debian_linux. EPSS estimates a 1.53% chance of exploitation in the next 30 days, higher than 75.5% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3Timeline
- 08-01-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.53%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 1.52% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundOpencv
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- opencv< 3.2.0+dfsg-6
- debian_linuxEOL7.0 | 8.0 | 9.0
PyPI2 products
- opencv-contrib-python< 3.4.1.15
- opencv-python< 3.4.1.15
Opencv1 product
- opencv3.3.1
Ubuntu1 product
- opencv< 2.4.9.1+dfsg-1.5ubuntu1.1 | < 3.2.0+dfsg-4ubuntu0.1
4 vendors · 6 products
References
14 links- lists.debian.org/debian-lts-announce/2018/07/msg00030.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
- github.com/opencv/opencv/issues/10541X Refsource MISCExploitIssue TrackingMailing ListThird Party AdvisoryWEBREPORT
- lists.debian.org/debian-lts-announce/2018/04/msg00019.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
- lists.debian.org/debian-lts-announce/2021/10/msg00028.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB