{"id":"CVE-2018-5268","published":"2018-01-08T05:00:00Z","modified":"2024-08-05T05:33:43Z","title":"In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01519,"percentile":0.75195,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/106945","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://github.com/opencv/opencv/issues/10541","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/04/msg00019.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":15.04}]},"affected":[{"ecosystem":"PyPI","package":"opencv-python","vulnerableRanges":["<3.4.1.15"],"patched":["3.4.1.15"],"from":["GHSA-9g8h-pjm4-q92p","PYSEC-2026-2814"],"provenance":"source"},{"ecosystem":"PyPI","package":"opencv-contrib-python","vulnerableRanges":["<3.4.1.15"],"patched":["3.4.1.15"],"from":["GHSA-9g8h-pjm4-q92p","PYSEC-2026-705"],"provenance":"source"}],"summary":{"text":"A heap-based buffer overflow exists in the cv::Jpeg2KDecoder::readComponent8u function, in modules/imgcodecs/src/grfmt_jpeg2000.cpp of OpenCV 3.3.1's JPEG 2000 decoder.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:44Z"},"euvd":{"id":"EUVD-2021-2185","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-14136","published":"2017-09-04","fixed":"3.3.1.11","kev":false},{"cve":"CVE-2017-17760","published":"2017-12-29","fixed":"3.4.0.12","kev":false,"link":{"from":"CVE-2017-17760","to":"CVE-2018-5268","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:opencv-python","fromFixed":"3.4.0.12","toFixed":"3.4.1.15","daysApart":10},{"kind":"version-step","provenance":"source","package":"PyPI:opencv-contrib-python","fromFixed":"3.4.0.12","toFixed":"3.4.1.15","daysApart":10}]}},{"cve":"CVE-2017-18009","published":"2018-01-01","fixed":"3.4.1.15","kev":false},{"cve":"CVE-2018-5268","published":"2018-01-08","fixed":"3.4.1.15","kev":false},{"cve":"CVE-2018-5269","published":"2018-01-08","fixed":"3.4.1.15","kev":false},{"cve":"CVE-2019-19624","published":"2019-12-06","fixed":"4.1.0.25","kev":false},{"cve":"CVE-2019-14491","published":"2019-08-01","fixed":"4.1.1.26","kev":false}],"package":"PyPI:opencv-python"}}