Heap-based Buffer Overflow Affecting opencv-devel package, versions *


Severity

Recommended
0.0
low
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.7% (81st 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 IDSNYK-CENTOS7-OPENCVDEVEL-1974102
  • published14 Oct 2021
  • disclosed15 Aug 2017

Introduced: 15 Aug 2017

CVE-2017-12862  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 opencv-devel.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opencv-devel package and not the opencv-devel package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1