ADVISORIES

Vulnerability

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.

8 advisories report this vulnerability, across 3 ecosystems.

High severity All Debian 4PyPI 3Ubuntu 1

Advisories

  • DEBIAN-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…

    CVE-2017-12862 Debian Updated 1 September 2026
  • DLA-1117-1

    opencv - security update

    CVE-2016-1516CVE-2017-12597CVE-2017-12598CVE-2017-12599 Debian Updated 20 November 2026
  • DLA-1438-1

    opencv - security update

    CVE-2016-1516CVE-2017-1000450CVE-2017-12597CVE-2017-12598 Debian Updated 20 November 2026
  • DLA-2799-1

    opencv - security update

    CVE-2016-1516CVE-2017-1000450CVE-2017-12597CVE-2017-12598 Debian Updated 20 November 2026
  • GHSA-5rpc-gwh9-q9fg

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

    High CVE-2017-12862 PyPI Updated 10 September 2026
  • PYSEC-2026-2807

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

    CVE-2017-12862 PyPI Updated 13 July 2026
  • PYSEC-2026-699

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

    CVE-2017-12862 PyPI Updated 13 July 2026
  • UBUNTU-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…

    CVE-2017-12862 Ubuntu Updated 22 April 2026

References