cve.bz

CVE-2019-20421 Infinite Loop

7.5 highExploit referenceEPSS 4.3%Fix available

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

On this page
In Jp2Image::readMetadata() in jp2image.cpp in Exiv2 0.27.2, an input file can result in an infinite loop and hang, with high CPU consumption. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted file.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
4.3% (unchanged from 4.3% a week ago; 4.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
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-2019-20421 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-20421?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-20421?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-2019-20421 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
exiv2:exiv20.27.2
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.10
debian:debian_linux9.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9exiv20.25-3.1+deb9u3DLA-2750-1
Debian10exiv20.25-4+deb10u2DSA-4958-1
Debian12, 13, 14exiv20.27.2-8DEBIAN-CVE-2019-20421
Ubuntu16.04:LTSexiv20.25-2.1ubuntu16.04.6UBUNTU-CVE-2019-20421 USN-4270-1
Ubuntu18.04:LTSexiv20.25-3.1ubuntu0.18.04.5UBUNTU-CVE-2019-20421 USN-4270-1
Red Hatenterprise_linux:8::appstreamexiv2, exiv2-libs, exiv2-debuginfo and 2 more0:0.27.2-5.el8RHSA-2020:1577
Red Hatenterprise_linux:8::appstreamgegl, gegl-debuginfo, gegl-debugsource0:0.2.0-39.el8RHSA-2020:1577
Red Hatenterprise_linux:8::appstreamgnome-color-manager, gnome-color-manager-debuginfo, gnome-color-manager-debugsource0:3.28.0-3.el8RHSA-2020:1577
Red Hatenterprise_linux:8::appstreamlibgexiv2, libgexiv2-debuginfo, libgexiv2-debugsource0:0.10.8-4.el8RHSA-2020:1577
Red Hatenterprise_linux:8::crbexiv2, exiv2-doc, exiv2-libs and 4 more0:0.27.2-5.el8RHSA-2020:1577
Red Hatenterprise_linux:8::crblibgexiv2, libgexiv2-devel, libgexiv2-debuginfo and 1 more0:0.10.8-4.el8RHSA-2020:1577
SUSELinux Enterprise Server 12 SP4, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moreexiv20.23-12.8.1SUSE-SU-2020:0860-1
AlmaLinux8exiv2-doc, exiv2-devel0.27.2-5.el8ALSA-2020:1577
AlmaLinux8gegl0.2.0-39.el8ALSA-2020:1577
AlmaLinux8gnome-color-manager3.28.0-3.el8ALSA-2020:1577
AlmaLinux8libgexiv2, libgexiv2-devel0.10.8-4.el8ALSA-2020:1577
Rocky Linux8exiv20:0.27.2-5.el8RLSA-2020:1577
Rocky Linux8gegl0:0.2.0-39.el8RLSA-2020:1577
Rocky Linux8gnome-color-manager0:3.28.0-3.el8RLSA-2020:1577
Rocky Linux8libgexiv20:0.10.8-4.el8RLSA-2020:1577
Alpinev3.11exiv20.27.2-r3ALPINE-CVE-2019-20421
Alpinev3.12, v3.13, v3.14 and 10 moreexiv20.27.2-r6ALPINE-CVE-2019-20421
Azure Linux2exiv20.27.5-1AZL-7205

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; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw did not affect the versions of exiv2 as shipped with Red Hat Enterprise Linux 6, 7, and 8 as they did not include the vulnerable code, which was introduced in a later version of the library.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8exiv2-0:0.27.2-5.el8Fixed 2020-04-28RHSA-2020:1577
Red Hat Enterprise Linux 8gegl-0:0.2.0-39.el8Fixed 2020-04-28RHSA-2020:1577
Red Hat Enterprise Linux 8gnome-color-manager-0:3.28.0-3.el8Fixed 2020-04-28RHSA-2020:1577
Red Hat Enterprise Linux 8libgexiv2-0:0.10.8-4.el8Fixed 2020-04-28RHSA-2020:1577
Red Hat Enterprise Linux 6exiv2Not affected
Red Hat Enterprise Linux 7exiv2Not affected

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-2019-20421.

References

Check your stackJSON