CVE-2017-12598: Out-of-bounds Read
(updated )
OpenCV (Open Source Computer Vision Library) has an out-of-bounds read error in the cv::RBaseStream::readBlock function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 8-opencv-invalid-read-fread test case.
References
- github.com/advisories/GHSA-33h2-69j3-r336
- github.com/opencv/opencv-python/releases/tag/11
- github.com/opencv/opencv-python/releases/tag/9
- github.com/opencv/opencv/issues/9309
- github.com/opencv/opencv/pull/9376
- github.com/xiaoqx/pocs/blob/master/opencv.md
- lists.debian.org/debian-lts-announce/2018/07/msg00030.html
- lists.debian.org/debian-lts-announce/2021/10/msg00028.html
- nvd.nist.gov/vuln/detail/CVE-2017-12598
- security.gentoo.org/glsa/201712-02
Code Behaviors & Features
Detect and mitigate CVE-2017-12598 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →