{"cve":"CVE-2018-5268","nvd":{"published":"2018-01-08T05:29:00.320","modified":"2026-06-17T01:59:56.650","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-787"],"references":["http://www.securityfocus.com/bid/106945","https://github.com/opencv/opencv/issues/10541","https://lists.debian.org/debian-lts-announce/2018/04/msg00019.html","https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html"],"products":["debian:debian_linux","opencv:opencv"],"source":"nvd","synced_at":"2026-10-19T20:47:56.471723566+00:00"},"epss":{"cve":"CVE-2018-5268","score":0.01519,"percentile":0.74579,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9g8h-pjm4-q92p","url":"https://osv.dev/vulnerability/GHSA-9g8h-pjm4-q92p","summary":"Out-of-bounds Write in OpenCV.","modified":"2026-09-10T03:49:09.245218764Z","packages":[{"ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":["<3.4.1.15"],"fixed":["3.4.1.15"]},{"ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":["<3.4.1.15"],"fixed":["3.4.1.15"]}]},{"id":"PYSEC-2026-2814","url":"https://osv.dev/vulnerability/PYSEC-2026-2814","summary":"Out-of-bounds Write in OpenCV.","modified":"2026-07-13T16:43:19.819306466Z","packages":[{"ecosystem":"PyPI","name":"opencv-python","purl":"pkg:pypi/opencv-python","ranges":["<3.4.1.15"],"fixed":["3.4.1.15"]}]},{"id":"PYSEC-2026-705","url":"https://osv.dev/vulnerability/PYSEC-2026-705","summary":"Out-of-bounds Write in OpenCV.","modified":"2026-07-13T16:43:19.819306466Z","packages":[{"ecosystem":"PyPI","name":"opencv-contrib-python","purl":"pkg:pypi/opencv-contrib-python","ranges":["<3.4.1.15"],"fixed":["3.4.1.15"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}