UBUNTU-CVE-2022-1122

    Dashboard / Vulnerabilities / UBUNTU-CVE-2022-1122

    UBUNTU-CVE-2022-1122

    Published: 29 Mar 2022Last Modified: 29 May 2026
    Upstream:
    Aliases:

    Summary:

    Details: A flaw was found in the opj2_decompress program in openjpeg2 2.4.0 in the way it handles an input directory with a large number of files. When it fails to allocate a buffer to store the filenames of the input directory, it calls free() on an uninitialized pointer, leading to a segmentation fault and a denial of service.

    Affected packages

    Package

    Name: openjpeg2

    Purl: pkg:deb/ubuntu/openjpeg2?arch=source&distro=esm-apps%2Fxenial

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.1.2-1.1+deb9u6ubuntu0.1~esm6

    Affected versions

    2.1.0-2.1
    2.1.0-2.1ubuntu0.1
    2.1.2-1.1+deb9u2build0.1
    2.1.2-1.1+deb9u3build0.16.04.1
    2.1.2-1.1+deb9u3ubuntu0.1~esm1
    2.1.2-1.1+deb9u5build0.16.04.1
    2.1.2-1.1+deb9u5ubuntu0.1~esm1
    2.1.2-1.1+deb9u6build0.16.04.1
    2.1.2-1.1+deb9u6ubuntu0.1~esm1
    2.1.2-1.1+deb9u6ubuntu0.1~esm3
    2.1.2-1.1+deb9u6ubuntu0.1~esm4

    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
    UBUNTU-CVE-2022-1122 | CVE-DB