CVE-2019-20421
published 2020-01-27CVE-2019-20421: 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…
PriorityP336high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
4.30%
90.0th percentile
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.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | exiv2 | < exiv2 0.27.2-8 (bookworm) | exiv2 0.27.2-8 (bookworm) |
| exiv2 | exiv2 | — | — |
| exiv2 | exiv2 | >= 0 < 0.27.2-8 | 0.27.2-8 |
| exiv2 | exiv2 | >= 0 < 0.27.2-8 | 0.27.2-8 |
| exiv2 | exiv2 | >= 0 < 0.27.2-8 | 0.27.2-8 |
| exiv2 | exiv2 | >= 0 < 0.27.2-8 | 0.27.2-8 |
| msrc | cbl2_exiv2_0.27.5-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.07.8HIGHAV:N/AC:L/Au:N/C:N/I:N/A:C
osv7.5HIGH
vendor_debian7.5LOW
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Exiv2 vulnerability
vendor_ubuntu·2020-02-05
CVE-2019-20421 Exiv2 vulnerability
Title: Exiv2 vulnerability
Summary: Exiv2 could be made to crash if it opened a specially crafted image.
It was discovered that Exiv2 incorrectly handled certain images.
An attacker could possibly use this issue to cause a denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
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
vendor_msrc·2020-01-14·CVSS 7.5
CVE-2019-20421 [HIGH] CWE-835 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
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional pr
Red Hat
exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS
vendor_redhat·2019-09-30·CVSS 7.5
CVE-2019-20421 [HIGH] CWE-835 exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS
exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS
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.
A denial of service vulnerability was found in exiv2 in the way JPEG 2000 (JP2) metadata was read when processing an image file. A remote attacker could abuse this flaw to create a specially crafted image, causing exiv2 to enter into an infinite loop when processing an incoming malicious image.
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
Debian
CVE-2019-20421: exiv2 - In Jp2Image::readMetadata() in jp2image.cpp in Exiv2 0.27.2, an input file can r...
vendor_debian·2019·CVSS 7.5
CVE-2019-20421 [HIGH] CVE-2019-20421: exiv2 - In Jp2Image::readMetadata() in jp2image.cpp in Exiv2 0.27.2, an input file can r...
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.
Scope: local
bookworm: resolved (fixed in 0.27.2-8)
bullseye: resolved (fixed in 0.27.2-8)
forky: resolved (fixed in 0.27.2-8)
sid: resolved (fixed in 0.27.2-8)
trixie: resolved (fixed in 0.27.2-8)
GHSA
GHSA-p4gw-2vrq-j64q: In Jp2Image::readMetadata() in jp2image
ghsa_unreviewed·2022-05-24
CVE-2019-20421 [HIGH] CWE-835 GHSA-p4gw-2vrq-j64q: In Jp2Image::readMetadata() in jp2image
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.
OSV
CVE-2019-20421: In Jp2Image::readMetadata() in jp2image
osv·2020-01-27·CVSS 7.5
CVE-2019-20421 [HIGH] CVE-2019-20421: In Jp2Image::readMetadata() in jp2image
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-20421 exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS
bugzilla·2020-02-07·CVSS 7.5
CVE-2019-20421 [HIGH] CVE-2019-20421 exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS
CVE-2019-20421 exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS
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.
Upstream Issue:
https://github.com/Exiv2/exiv2/issues/1011
Upstream Fix:
https://github.com/Exiv2/exiv2/commit/a82098f4f90cd86297131b5663c3dec6a34470e8
Discussion:
Created exiv2 tracking bugs for this issue:
Affects: fedora-all [bug 1800473]
---
The flaw seems to be introduced in exiv2 upstream version v0.27.2 after commit https://github.com/Exiv2/exiv2/commit/edb4bf78ca5820f2c7a852c8f2df11e6aba45704.
This commit added a new check in f
Bugzilla
CVE-2019-20421 exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS [fedora-all]
bugzilla·2020-02-07·CVSS 7.5
CVE-2019-20421 [HIGH] CVE-2019-20421 exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS [fedora-all]
CVE-2019-20421 exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this
https://github.com/Exiv2/exiv2/commit/a82098f4f90cd86297131b5663c3dec6a34470e8https://github.com/Exiv2/exiv2/issues/1011https://lists.debian.org/debian-lts-announce/2021/08/msg00028.htmlhttps://usn.ubuntu.com/4270-1/https://www.debian.org/security/2021/dsa-4958https://github.com/Exiv2/exiv2/commit/a82098f4f90cd86297131b5663c3dec6a34470e8https://github.com/Exiv2/exiv2/issues/1011https://lists.debian.org/debian-lts-announce/2021/08/msg00028.htmlhttps://usn.ubuntu.com/4270-1/https://www.debian.org/security/2021/dsa-4958
2020-01-27
Published