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


Severity

Recommended
0.0
low
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
1.53% (76th 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-CENTOS8-PYTHON3OPENCV-16871333
  • published23 May 2026
  • disclosed7 Jan 2018

Introduced: 7 Jan 2018

CVE-2018-5268  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for Centos:8 python3-opencv.

NVD Description

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

In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp when parsing a crafted image file.

CVSS Base Scores

version 3.1