GHSA-wq8f-wvqp-xvvm

    Dashboard / Vulnerabilities / GHSA-wq8f-wvqp-xvvm

    GHSA-wq8f-wvqp-xvvm

    Published: 12 Oct 2021Last Modified: 10 Sept 2026

    Summary: Integer Overflow or Wraparound in OpenCV

    Details: In opencv/modules/imgcodecs/src/grfmt_pxm.cpp, function PxMDecoder::readData has an integer overflow when calculate src_pitch. 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-wq8f-wvqp-xvvm | CVE-DB