{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-5268","published":"2018-01-08T05:29:00.320000Z","last_modified":"2026-06-17T01:59:56.650000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-787"],"cpes":[{"criteria":"cpe:2.3:a:opencv:opencv:3.3.1:*:*:*:*:*:*:*","part":"a","vendor":"opencv","product":"opencv","version":"3.3.1"},{"criteria":"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"7.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"8.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"}],"cpes_truncated":false,"vendors":["opencv","debian"],"products":["opencv/opencv","debian/debian_linux"],"epss":{"score":0.01519,"percentile":0.74902,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-9g8h-pjm4-q92p","ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":[{"introduced":"0","fixed":"3.4.1.15"}],"versions":[],"versions_truncated":false},{"advisory":"PYSEC-2026-705","ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":[{"introduced":"0","fixed":"3.4.1.15"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-9g8h-pjm4-q92p","ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":[{"introduced":"0","fixed":"3.4.1.15"}],"versions":["3.4.0.14"],"versions_truncated":false},{"advisory":"PYSEC-2026-2814","ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":[{"introduced":"0","fixed":"3.4.1.15"}],"versions":["3.4.0.14"],"versions_truncated":false}],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2018-5268/","html_en":"/en/cve/CVE-2018-5268/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-5268","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-5268"},"untrusted":{"vendor_name":"Opencv","product_name":"Opencv","desc_en":"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":[],"references":[{"url":"http://www.securityfocus.com/bid/106945","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://github.com/opencv/opencv/issues/10541","tags":["Exploit","Issue Tracking","Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/04/msg00019.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","tags":["Mailing List","Third Party Advisory"]}]}}