Security mailing lists by PureSourceCode

CVE-2017-12862

HIGH 8.8CVSS 3.1

Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV

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.

Published
15 Aug 2017
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-119CWE-787
Also known as
GHSA-5rpc-gwh9-q9fgPYSEC-2026-2807PYSEC-2026-699
Sources
NVDJSONOSV GHSA-5rpc-gwh9-q9fgJSONOSV PYSEC-2026-2807JSONOSV PYSEC-2026-699JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.0 HIGH 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD opencv opencv
cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*
<= 3.3.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
OSV PyPI opencv-python < 3.3.1.11 3.3.1.11
OSV PyPI opencv-contrib-python < 3.3.1.11 3.3.1.11

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 15 Aug 2017)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Oct 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.