BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2019-20421 in Canonical Ubuntu Linux and 2 more products

High 7.5

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.

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 3.17.5
EPSS4.3%
EPSS percentile92th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Canonical Ubuntu Linux 16.04 18.04 19.10
Debian Debian Linux 9.0 10.0
Exiv2 Exiv2 0.27.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2019-20421
BreachSpider IDBS-2020-GLOBAL-138072-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2020-01-27
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-835: CWE-835

Analysis AI-written, not human-reviewed

A vulnerability in Exiv2 0.27.2 allows remote attackers to cause a denial of service by crafting a specific input file that triggers an infinite loop in the Jp2Image::readMetadata() function, leading to high CPU consumption and system hang.

The attack vector involves sending a specially crafted JP2 file to a system using Exiv2 0.27.2. When the Jp2Image::readMetadata() function processes this file, it enters an infinite loop, causing the application to hang and consume excessive CPU resources.

Questions

What is CVE-2019-20421?

A vulnerability in Exiv2 0.27.2 allows remote attackers to cause a denial of service by crafting a specific input file that triggers an infinite loop in the Jp2Image::readMetadata() function, leading to high CPU consumption and system hang.

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

CVE-2019-20421 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 4.3%.

Is CVE-2019-20421 actively exploited?

No confirmed active exploitation of CVE-2019-20421 as of 2026-09-25.

How do I remediate CVE-2019-20421?

Priority: HIGH.

What systems are affected by CVE-2019-20421?

CVE-2019-20421 affects Canonical Ubuntu Linux; Debian Debian Linux; Exiv2 Exiv2.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.