CVE Catalog

CVE-2017-12603

High
Published: Translated: NVD NIST

Summary

OpenCV through version 3.3 has an invalid write in the cv::RLByteStream::getBytes function, which may lead to a buffer overflow when reading an image file using cv::imread.

Risk Assessment

Exploitation of this vulnerability may lead to unauthorized memory access, creating a risk of executing malicious code and potentially taking control of the system.

Recommendation

It is recommended to update OpenCV to the latest version to mitigate this vulnerability and conduct a code audit to identify other potential security issues.

Other vulnerabilities in OpenCV

See all
Original NVD description (English source)

OpenCV (Open Source Computer Vision Library) through 3.3 has an invalid write in the cv::RLByteStream::getBytes function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 2-opencv-heapoverflow-fseek test case.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS