{"id":"CVE-2018-5269","published":"2018-01-08T05:00:00Z","modified":"2024-08-05T05:33:43Z","title":"In OpenCV 3.3.1, an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp because…","vendor":null,"product":null,"tier":"tail","description":{"text":"In OpenCV 3.3.1, an assertion failure happens in cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp because of an incorrect integer cast.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01384,"percentile":0.72859,"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://lists.debian.org/debian-lts-announce/2018/04/msg00019.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/opencv/opencv/issues/10540","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":14.57}]},"affected":[{"ecosystem":"PyPI","package":"opencv-python","vulnerableRanges":["<3.4.1.15"],"patched":["3.4.1.15"],"from":["GHSA-89rj-5ggj-3p9p","PYSEC-2026-2812"],"provenance":"source"},{"ecosystem":"PyPI","package":"opencv-contrib-python","vulnerableRanges":["<3.4.1.15"],"patched":["3.4.1.15"],"from":["GHSA-89rj-5ggj-3p9p","PYSEC-2026-703"],"provenance":"source"}],"summary":{"text":"In OpenCV 3.3.1, the imgcodecs module's bit stream component, specifically cv::RBaseStream::setPos in modules/imgcodecs/src/bitstrm.cpp, contains a flaw where an incorrect integer cast triggers an assertion failure. The available data does not specify the attack conditions, such as the required network access, authentication, user interaction, or configuration needed to reach the flawed code path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:02Z"},"euvd":{"id":"EUVD-2021-2178","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-17760","published":"2017-12-29","fixed":"3.4.0.12","kev":false,"link":{"from":"CVE-2017-17760","to":"CVE-2018-5269","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,"link":{"from":"CVE-2018-5269","to":"CVE-2019-14491","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:opencv-python","fromFixed":"3.4.1.15","toFixed":"3.4.7.28","daysApart":570},{"kind":"version-step","provenance":"source","package":"PyPI:opencv-contrib-python","fromFixed":"3.4.1.15","toFixed":"3.4.7.28","daysApart":570}]}},{"cve":"CVE-2019-14492","published":"2019-08-01","fixed":"4.1.1.26","kev":false,"link":{"from":"CVE-2018-5269","to":"CVE-2019-14492","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:opencv-python","fromFixed":"3.4.1.15","toFixed":"3.4.7.28","daysApart":570},{"kind":"version-step","provenance":"source","package":"PyPI:opencv-contrib-python","fromFixed":"3.4.1.15","toFixed":"3.4.7.28","daysApart":570}]}}],"package":"PyPI:opencv-python"}}