cve.bz

CVE-2020-13790 Out-of-bounds Read

8.1 highExploit referenceEPSS 3.2%Fix available

High (8.1). EPSS 3.2% estimated probability of exploitation activity in the next 30 days.

On this page
libjpeg-turbo 2.0.4, and mozjpeg 4.0.0, has a heap-based buffer over-read in get_rgb_row() in rdppm.c via a malformed PPM input file.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS
3.2% (unchanged from 3.2% a week ago; 3.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-13790 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-13790?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-13790?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-13790 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libjpeg-turbo:libjpeg-turbo2.0.4
mozilla:mozjpeg4.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9libjpeg-turbo1:1.5.1-2+deb9u1DLA-2302-1
Debian12, 13, 14libjpeg-turbo1:2.0.5-1DEBIAN-CVE-2020-13790
Ubuntu16.04:LTSlibjpeg-turbo1.4.2-0ubuntu3.4UBUNTU-CVE-2020-13790 USN-4386-1
Ubuntu18.04:LTSlibjpeg-turbo1.5.2-0ubuntu5.18.04.4UBUNTU-CVE-2020-13790 USN-4386-1
Ubuntu20.04:LTSlibjpeg-turbo2.0.3-0ubuntu1.20.04.1UBUNTU-CVE-2020-13790 USN-4386-1
UbuntuPro:14.04:LTSlibjpeg-turbo1.3.0-0ubuntu2.1+esm1UBUNTU-CVE-2020-13790 USN-4386-1
Red Hatenterprise_linux:8::appstreamturbojpeg, libjpeg-turbo, libjpeg-turbo-devel and 5 more0:1.5.3-14.el8_10RHSA-2025:7540
Red Hatenterprise_linux:8::crbturbojpeg-devel, turbojpeg-debuginfo, libjpeg-turbo-debuginfo and 2 more0:1.5.3-14.el8_10RHSA-2025:7540
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Basesystem 15 SP2libjpeg-turbo, libjpeg62-turbo1.5.3-5.15.7SUSE-SU-2020:2569-1
SUSELinux Enterprise Module for Desktop Applications 15 SP1, Linux Enterprise Module for Desktop Applications 15 SP2, Linux Enterprise Module for Package Hub 15 SP1 and 1 morelibjpeg-turbo1.5.3-5.15.7SUSE-SU-2020:2569-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libjpeg-turbo, libjpeg62-turbo1.5.3-31.22.2SUSE-SU-2020:2570-1
openSUSELeap 15.1libjpeg-turbo, libjpeg62-turbo1.5.3-lp151.6.6.1openSUSE-SU-2020:1413-1
openSUSELeap 15.2libjpeg-turbo, libjpeg62-turbo1.5.3-lp152.8.3.1openSUSE-SU-2020:1458-1
openSUSETumbleweedlibjpeg-turbo8.2.2-65.2openSUSE-SU-2024:10952-1
AlmaLinux8turbojpeg, libjpeg-turbo, turbojpeg-devel and 2 more1.5.3-14.el8_10ALSA-2025:7540
Rocky Linux8libjpeg-turbo0:1.5.3-14.el8_10RLSA-2025:7540
Alpinev3.10, v3.11libjpeg-turbo2.0.4-r1ALPINE-CVE-2020-13790
Alpinev3.12, v3.13, v3.14 and 10 morelibjpeg-turbo2.0.4-r2ALPINE-CVE-2020-13790

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as a moderate because a heap-based buffer over-read exists in the get_rgb_row() function within rdppm.c when processing a malformed PPM input file, this issue may lead to information leakage or crashes, it does not inherently allow code execution or privilege escalation.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libjpeg-turbo-0:1.5.3-14.el8_10Fixed 2025-05-14RHSA-2025:7540
Red Hat Enterprise Linux 6libjpeg-turboOut of support scope
Red Hat Enterprise Linux 7libjpeg-turboWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-13790.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON