cvedb.io
CVE-2021-46822
MEDIUM · CVSS 5.5
EPSS exploitation probability: 0%
Published 2022-06-18T16:15:08.110 · Last modified 2026-06-17T04:15:37.047

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.

Affected products

libjpeg-turbo — libjpeg-turbo

Does this affect you?

Add your gear to cvedb and we'll alert you only when libjpeg-turbo ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.