Integer Overflow or Wraparound The advisory has been revoked - it doesn't affect any version of package opencv  (opens in a new tab)


Threat Intelligence

EPSS
2.72% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-OPENCV-10077852
  • published8 May 2025
  • disclosed15 Aug 2017
  • creditUnknown

Introduced: 15 Aug 2017

CVE-2017-12864  (opens in a new tab)
CWE-190  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound. In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function ReadNumber did not checkout the input length, which lead to integer overflow. If the image is from remote, may lead to remote code execution or denial of service. This affects Opencv 3.3 and earlier.

References