UBUNTU-CVE-2021-46822

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-46822

    UBUNTU-CVE-2021-46822

    Published: 18 Jun 2022Last Modified: 22 Apr 2026
    Upstream:
    Aliases:

    Summary:

    Details: The PPM reader in libjpeg-turbo through 2.0.90 mishandles use of tjLoadImage for loading a 16-bit binary PPM file into a grayscale buffer and loading a 16-bit binary PGM file into an RGB buffer. This is related to a heap-based buffer overflow in the get_word_rgb_row function in rdppm.c.

    Affected packages

    Package

    Name: libjpeg-turbo

    Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=focal

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.0.3-0ubuntu1.20.04.3

    Affected versions

    2.0.3-0ubuntu1
    2.0.3-0ubuntu1.20.04.1

    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-2021-46822 | CVE-DB