CVE-2017-12862

HIGHCVSS 8.8/10EPSS 3.07%

Last modified

CVE-2017-12862 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later. If the image is from remote, may lead to remote code execution or denial of service. EPSS estimates a 3.07% chance of exploitation in the next 30 days.

Description

In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.

Metrics

CVSS 3.1
8.8/10

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

EPSS Probability
3.07%

85.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
OpencvOpencv<= 3.3.0
DebianDebian Linux8.0
DebianDebian Linux9.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2017-12862?
In modules/imgcodecs/src/grfmt_pxm.cpp, the length of buffer AutoBuffer _src is small than expected, which will cause copy buffer overflow later. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.
How severe is CVE-2017-12862?
CVE-2017-12862 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 3.07% probability of exploitation in the next 30 days.
How do I fix CVE-2017-12862?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2017-12862?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST