CVE-2018-5268: Buffer Overflow

Published Jan 8, 2018
·
Updated

In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmtjpeg2000.cpp when parsing a crafted image file.

Affected Software

5 affected components
Google Android
OpenCV Opencv=3.3.1
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0

Event History

Jan 8, 2018
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-5268?

The severity of CVE-2018-5268 is high with a CVSS score of 5.5.

2

How does CVE-2018-5268 affect OpenCV?

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.

3

Which software is affected by CVE-2018-5268?

CVE-2018-5268 affects Google Android, OpenCV version 3.3.1, and Debian Linux versions 7.0, 8.0, and 9.0.

4

How can I mitigate the vulnerability in CVE-2018-5268?

To mitigate the vulnerability in CVE-2018-5268, it is recommended to update OpenCV to a version that includes the fix for this issue.

5

Where can I find more information about CVE-2018-5268?

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)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203