CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Libjpeg-turbo

CVE-2021-46822
Libjpeg-turbo vulnerability

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 products

Libjpeg-turbo. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Libjpeg-turbo runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Libjpeg-turbo products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.