CVE-2017-12601

high

Description

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.

References

https://security.gentoo.org/glsa/201712-02

https://lists.debian.org/debian-lts-announce/2021/10/msg00028.html

https://lists.debian.org/debian-lts-announce/2018/07/msg00030.html

https://github.com/opencv/opencv/issues/9309

Details

Source: Mitre, NVD

Published: 2017-08-07

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Severity: High