synced 11 MIN AGO
01 Record

CVE-2021-46822

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

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 Description

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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
1.07% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 64.4% of scored records. A rank, not a probability.
NVD base score
5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-06-18 15:27Z4 YR AGO
Last updated
2024-08-04 05:17Z2 YR AGO
Reserved
2022-06-18
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-787Out-of-bounds WriteBase
  • CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferClass
Data version
5.1
Document digest
616b6df1b4ba93037e35aa10e98d17e087994aea68bad30f68b39e8c028fb26d

05 Affected products

VendorProductVersionsPlatforms
libjpeg-turbolibjpeg-turboNot specified—
redhatenterprise_linuxNot specified—

06 References

07 Fixed in

AlmaLinux 9

  • libjpeg-turbo
    Fixed in 2.0.90-6.el9_1
  • libjpeg-turbo-devel
    Fixed in 2.0.90-6.el9_1
  • libjpeg-turbo-utils
    Fixed in 2.0.90-6.el9_1
  • turbojpeg
    Fixed in 2.0.90-6.el9_1
  • turbojpeg-devel
    Fixed in 2.0.90-6.el9_1

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • libjpeg-turbo
    Fixed in 2.0.90-6.el9_1
  • libjpeg-turbo-devel
    Fixed in 2.0.90-6.el9_1
  • libjpeg-turbo-utils
    Fixed in 2.0.90-6.el9_1
  • turbojpeg
    Fixed in 2.0.90-6.el9_1
  • turbojpeg-devel
    Fixed in 2.0.90-6.el9_1

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • libjpeg-turbo
    Fixed in 1:2.1.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • libjpeg-turbo
    Fixed in 1:2.1.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • libjpeg-turbo
    Fixed in 1:2.1.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • libjpeg-turbo
    Fixed in 2.0.3-0ubuntu1.20.04.3

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.