GHSA-9g8h-pjm4-q92p

    Dashboard / Vulnerabilities / GHSA-9g8h-pjm4-q92p

    GHSA-9g8h-pjm4-q92p

    Published: 12 Oct 2021Last Modified: 10 Sept 2026

    Summary: Out-of-bounds Write in OpenCV.

    Details: 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.

    Affected packages

    Package

    Name: opencv-python

    Purl: pkg:pypi/opencv-python

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.4.1.15

    Affected versions

    3.4.0.14

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-9g8h-pjm4-q92p | CVE-DB