GHSA-33h2-69j3-r336

    Dashboard / Vulnerabilities / GHSA-33h2-69j3-r336

    GHSA-33h2-69j3-r336

    Published: 12 Oct 2021Last Modified: 10 Sept 2026

    Summary: Out-of-bounds Read in OpenCV

    Details: OpenCV (Open Source Computer Vision Library) through 3.3 (corresponding to OpenCV-Python 3.3.0.9) has an out-of-bounds read error in the cv::RBaseStream::readBlock function in modules/imgcodecs/src/bitstrm.cpp when reading an image file by using cv::imread, as demonstrated by the 8-opencv-invalid-read-fread test case.

    Affected packages

    Package

    Name: opencv-python

    Purl: pkg:pypi/opencv-python

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.3.1.11

    Affected versions

    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