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
CVE-2023-2804CVE-2021-29390CVE-2021-20205CVE-2020-35538CVE-2020-17541CVE-2020-13790CVE-2019-13960CVE-2018-20330All 16
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.