Advisory

UBUNTU-CVE-2021-46822

Also known as: CVE-2021-46822

Summary

The record has no 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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2022-06-18 16:15 UTC
Modified
2026-04-22 13:06 UTC

Affected packages and fixes

libjpeg-turbo

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.0.3-0ubuntu1.20.04.3 (ecosystem)

Fixed versions

2.0.3-0ubuntu1.20.04.3

Fix

  • Fixed version 2.0.3-0ubuntu1.20.04.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences