GitHub Advisoryadvisory · PyPI

GHSA-9g8h-pjm4-q92p Out-of-bounds Write in OpenCV.

MEDIUM Published 2021-10-12 Modified 2021-11-18 Official page ↗
Aliases
CVE-2018-5268
Ecosystem
PyPI
Packages
opencv-python, opencv-contrib-python
Severity
Moderate
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
CWE-787
Reviewed
2021-10-07

Affected packages

• PyPI opencv-python: < 3.4.1.15 → fixed in 3.4.1.15 • PyPI opencv-contrib-python: < 3.4.1.15 → fixed in 3.4.1.15

Description

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

Related

Alias · CVE (1)

  • CVE-2018-5268 In OpenCV 3.3.1, a heap-based buffer overflow happens in cv::Jpeg2KDecoder::readComponent8u in modules/imgcodecs/src/grfmt_jpeg2000.cpp… vulnerability

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References