8.8
CWE
787 119
Advisory Published
Updated

CVE-2017-12862: Buffer Overflow

First published: Tue Aug 15 2017(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
OpenCV<=3.3.0
Debian GNU/Linux=8.0
Debian GNU/Linux=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2017-12862?

    CVE-2017-12862 has a high severity due to its potential for remote code execution and denial of service.

  • How do I fix CVE-2017-12862?

    To fix CVE-2017-12862, upgrade OpenCV to version 3.4.0 or later.

  • Which versions of OpenCV are affected by CVE-2017-12862?

    CVE-2017-12862 affects OpenCV versions 3.3.0 and earlier.

  • Can CVE-2017-12862 lead to data loss?

    Yes, if exploited, CVE-2017-12862 can lead to unauthorized memory access, potentially resulting in data loss.

  • Is CVE-2017-12862 specific to any operating system?

    CVE-2017-12862 affects OpenCV across multiple operating systems, including Debian GNU/Linux 8.0 and 9.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203