p PatchFirst

CVE-2021-46822

CVE-2021-46822

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.5 · Medium · EPSS 1.1% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • libjpeg-turbo Debian:12

    Affected ranges
    • ECOSYSTEM: < 1:2.1.1-1

    Update to 1:2.1.1-1

  • libjpeg-turbo Debian:13

    Affected ranges
    • ECOSYSTEM: < 1:2.1.1-1

    Update to 1:2.1.1-1

  • libjpeg-turbo Debian:14

    Affected ranges
    • ECOSYSTEM: < 1:2.1.1-1

    Update to 1:2.1.1-1

  • libjpeg-turbo Ubuntu:20.04:LTS

    Versions
    • 2.0.3-0ubuntu1
    • 2.0.3-0ubuntu1.20.04.1
    Affected ranges
    • ECOSYSTEM: < 2.0.3-0ubuntu1.20.04.3

    Update to 2.0.3-0ubuntu1.20.04.3

Original sources

Check your server →