CVE Catalog

CVE-2017-12601

High
Published: Translated: NVD NIST

Summary

OpenCV through version 3.3 has a buffer overflow in the cv::BmpDecoder::readData function that can occur when reading an image file using cv::imread. This issue is demonstrated by the 4-buf-overflow-readData-memcpy test case.

Risk Assessment

Buffer overflow may lead to the execution of malicious code, posing a serious security threat to applications using OpenCV. Organizations should be aware of the risks associated with processing unknown or untrusted image files.

Recommendation

It is recommended to update the OpenCV library to the latest version to mitigate this vulnerability. Additionally, appropriate security controls should be implemented when processing image files.

Other vulnerabilities in OpenCV

See all
Original NVD description (English source)

OpenCV (Open Source Computer Vision Library) through 3.3 has a buffer overflow in the cv::BmpDecoder::readData function in modules/imgcodecs/src/grfmt_bmp.cpp when reading an image file by using cv::imread, as demonstrated by the 4-buf-overflow-readData-memcpy test case.

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