High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-20421
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:03 UTC · Revision 1
Source evidence
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
Complete source record
{
"id": "1ed154022938be97e69aabe4432d358c8de10cd16880201f85824214e082783d",
"url": "https://osv.dev/vulnerability/CVE-2019-20421",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-20421",
"summary": "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.",
"evidence": "osv:CVE-2019-20421",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-20421",
"aliases": [
"CVE-2019-20421"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/exiv2/exiv2",
"type": "GIT",
"events": [
{
"introduced": "70f9405fafbe19c7bab94b36a1267c4332dc8a8a"
},
{
"last_affected": "70f9405fafbe19c7bab94b36a1267c4332dc8a8a"
},
{
"fixed": "a82098f4f90cd86297131b5663c3dec6a34470e8"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:exiv2:exiv2:0.27.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.27.2"
},
{
"last_affected": "0.27.2"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "a82098f4f90cd86297131b5663c3dec6a34470e8"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.27.2",
"v0.27.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20421.json"
}
}
],
"modified": "2026-10-20T10:52:39.509061909Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2021/08/msg00028.html",
"https://usn.ubuntu.com/4270-1/",
"https://www.debian.org/security/2021/dsa-4958",
"https://github.com/Exiv2/exiv2/commit/a82098f4f90cd86297131b5663c3dec6a34470e8",
"https://github.com/Exiv2/exiv2/issues/1011"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
},
{
"introduced": "19.10"
},
{
"last_affected": "19.10"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-20421",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383715,
"published_at": "2020-01-27T05:15:10.453+00:00"
}