OpenCV (Open Source Computer Vision Library) through 3.3 (corresponding to OpenCV-Python 3.3.0.9) 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.
{
"github_reviewed": true,
"nvd_published_at": "2017-08-07T01:29:00Z",
"severity": "HIGH",
"github_reviewed_at": "2021-10-08T14:40:39Z",
"cwe_ids": [
"CWE-119",
"CWE-120"
]
}