cve.bz

CVE-2017-12862

8.8 highEPSS 3.1%

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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
3.1% chance of exploitation in the next 30 days; higher than 87% of CVEs (scores of 2026-10-31)
CWE
CWE-787
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5rpc-gwh9-q9fgPyPIopencv-python<3.3.1.113.3.1.11
GHSA-5rpc-gwh9-q9fgPyPIopencv-contrib-python<3.3.1.113.3.1.11
PYSEC-2026-2807PyPIopencv-python<3.3.1.113.3.1.11
PYSEC-2026-699PyPIopencv-contrib-python<3.3.1.113.3.1.11

References

Check your stackJSON