PT-2020-5652 · Libjpeg Turbo+9 · Libjpeg-Turbo+9
Sanjeevk001
·
Published
2020-06-03
·
Updated
2025-05-15
·
CVE-2020-13790
CVSS v3.1
8.1
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
libjpeg-turbo versions 2.0.4 and earlier
mozjpeg version 4.0.0
Description
The issue is related to a heap-based buffer over-read in the
get rgb row() function in rdppm.c via a malformed PPM input file. This can allow a remote attacker to access confidential data and cause a denial of service. The start input ppm function from rdppm.c in the libjpeg-turbo library is also affected by a buffer data boundary reading issue.Recommendations
For libjpeg-turbo version 2.0.4, consider updating to a newer version that addresses the buffer over-read issue in
get rgb row().
For mozjpeg version 4.0.0, restrict the use of malformed PPM input files to minimize the risk of exploitation until a patch is available.
As a temporary workaround, consider disabling the get rgb row() function in rdppm.c until a patch is available.Exploit
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Centos
Linuxmint
Red Hat
Rocky Linux
Suse
Ubuntu
Libjpeg-Turbo
Mozjpeg