Skip to main content
No exploitation reportedFix available

CVE-2019-20421

No exploitation reported by the sources we read.

  • Published2020-01-27
  • WeaknessCWE-835

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2020-01-2705:15CVE publishedNVD

Versions per branch

NVD
Exiv2
BranchAffectedFixed in
0.27= 0.27.2no fix published
Canonical ubuntu linux
BranchAffectedFixed in
16.4= 16.04no fix published
18.4= 18.04no fix published
19.10= 19.10no fix published
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
10.0= 10.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • exiv2Ubuntu:18.04:LTSall versions · fixed in 0.25-3.1ubuntu0.18.04.5
  • exiv2Ubuntu:16.04:LTSall versions · fixed in 0.25-2.1ubuntu16.04.6
  • exiv2SUSE:Linux Enterprise Software Development Kit 12 SP5all versions · fixed in 0.23-12.8.1
  • exiv2SUSE:Linux Enterprise Software Development Kit 12 SP4all versions · fixed in 0.23-12.8.1
  • exiv2SUSE:Linux Enterprise Server for SAP Applications 12 SP5all versions · fixed in 0.23-12.8.1
  • exiv2SUSE:Linux Enterprise Server for SAP Applications 12 SP4all versions · fixed in 0.23-12.8.1
  • exiv2SUSE:Linux Enterprise Server 12 SP5all versions · fixed in 0.23-12.8.1
  • exiv2SUSE:Linux Enterprise Server 12 SP4all versions · fixed in 0.23-12.8.1

37 more package ranges on OSV.dev

Vendor advisories

  • CVE-2019-20421 Red Hat Product Security97 products fixed

    exiv2: infinite loop and hang in Jp2Image::readMetadata() in jp2image.cpp could lead to DoS

  • RHSA-2020:1577 Red Hat Product Security97 products fixed

    Red Hat Security Advisory: exiv2 security, bug fix, and enhancement update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2020:1577 · 97 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2020-01-27
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-p4gw-2vrq-j64q

Frequently asked questions

What is CVE-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 could leverage this vulnerability to cause a denial of service via a crafted file.

Is CVE-2019-20421 actively exploited?

Active exploitation of CVE-2019-20421 has not been confirmed. Its EPSS score was 4.3% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-20421?

CVE-2019-20421 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running exiv2? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record