CVE-2017-12863

high

Description

In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an integer overflow when calculate src_pitch. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.

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/9371

Details

Source: Mitre, NVD

Published: 2017-08-15

Updated: 2021-11-30

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