The PPM reader in libjpeg-turbo through 2.0.90 mishandles use of tjLoadImage for loading…
Priority LOW 27CWE-787Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.01076 65th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libjpeg-turbo:libjpeg-turbo:*:*:*:*:*:*:*:* | after 1.5.3, up to 2.0.90 | Vulnerable | Libjpeg-turbo |
- cpe:2.3:a:libjpeg-turbo:libjpeg-turbo:*:*:*:*:*:*:*:* Versions after 1.5.3, up to 2.0.90 Vulnerable ·Libjpeg-turbo
Remediation
Red Hat 1 advisory
- RHSA-2023:1068 Released 2023-03-06 · Red Hat rating Moderatelibjpeg-turbo security update
- Red Hat CodeReady Linux Builder (v. 9) turbojpeg-2.0.90-6.el9_1, turbojpeg-devel-2.0.90-6.el9_1
- Red Hat Enterprise Linux AppStream (v. 9) libjpeg-turbo-2.0.90-6.el9_1, libjpeg-turbo-devel-2.0.90-6.el9_1, libjpeg-turbo-utils-2.0.90-6.el9_1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2023:1068 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:1068 |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2021-46822
- 2026-10-03 Alias added: GHSA-p468-hq86-gghc
References
More Libjpeg-turbo vulnerabilities
- TI-2021-10123 libjpeg-turbo version 2.0.90 has a heap-based buffer over-read (2 bytes) in decompress_smooth_data in jdcoefct.c. CVSS 3.1HIGH 7.1
- TI-2023-02627 Heap-based buffer overflow in libjpeg-turbo CVSS 3.1MEDIUM 6.5
- TI-2016-03069 The cjpeg utility in libjpeg allows remote attackers to cause a denial of service (NULL… CVSS 3.0HIGH 8.8
- TI-2020-13284 Libjpeg-turbo all version have a stack-based buffer overflow in the "transform" component. CVSS 3.1HIGH 8.8
- TI-2018-14387 The tjLoadImage function in libjpeg-turbo 2.0.1 has an integer overflow with a resultant… CVSS 3.0HIGH 8.8
- TI-2020-10780 libjpeg-turbo 2.0.4, and mozjpeg 4.0.0, has a heap-based buffer over-read in… CVSS 3.1HIGH 8.1
Sources
- CVE-2021-46822 · CVE Program
- CVE-2021-46822 · NVD
- FIRST EPSS
- GHSA-p468-hq86-gghc · GitHub Advisory Database · CC BY 4.0
- CVE-2021-46822 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences