First published: Mon Jan 08 2018(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Opencv Opencv | =3.3.1 | |
Debian Debian Linux | =7.0 | |
Debian Debian Linux | =8.0 | |
Debian Debian Linux | =9.0 | |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2018-5268 is high with a CVSS score of 5.5.
CVE-2018-5268 affects OpenCV version 3.3.1 with a heap-based buffer overflow vulnerability in the cv::Jpeg2KDecoder::readComponent8u function in the modules/imgcodecs/src/grfmt_jpeg2000.cpp file.
CVE-2018-5268 affects Google Android, OpenCV version 3.3.1, and Debian Linux versions 7.0, 8.0, and 9.0.
To mitigate the vulnerability in CVE-2018-5268, it is recommended to update OpenCV to a version that includes the fix for this issue.
You can find more information about CVE-2018-5268 in the following references: - [Android Security Bulletin - February 2019](https://source.android.com/docs/security/bulletin/2019-02-01/#asterisk) - [Android Security Bulletin - February 2019](https://source.android.com/docs/security/bulletin/2019-02-01) - [SecurityFocus BID 106945](http://www.securityfocus.com/bid/106945)