GHSA-5rpc-gwh9-q9fg

    Dashboard / Vulnerabilities / GHSA-5rpc-gwh9-q9fg

    GHSA-5rpc-gwh9-q9fg

    Published: 12 Oct 2021Last Modified: 10 Sept 2026

    Summary: Improper Restriction of Operations within the Bounds of a Memory Buffer in OpenCV

    Details: 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 (corresponding to OpenCV-Python 3.3.0.9) and earlier.

    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
    GHSA-5rpc-gwh9-q9fg | CVE-DB