Medium
Security advisory
There is a heap-based buffer over-read in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp in Exiv2 0.27-RC3. A crafted input will lead to a remote denial of service attack.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-20098
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:18 UTC · Revision 1
Source evidence
There is a heap-based buffer over-read in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp in Exiv2 0.27-RC3. A crafted input will lead to a remote denial of service attack.
osv:CVE-2018-20098
Complete source record
{
"id": "4a26dd5846bbc9eb9f3c59748a1d14119d0e74679a8e28ad1175417b31360b23",
"url": "https://osv.dev/vulnerability/CVE-2018-20098",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-20098",
"summary": "There is a heap-based buffer over-read in Exiv2::Jp2Image::encodeJp2Header of jp2image.cpp in Exiv2 0.27-RC3. A crafted input will lead to a remote denial of service attack.",
"evidence": "osv:CVE-2018-20098",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-20098",
"aliases": [
"CVE-2018-20098",
"PYSEC-2018-119"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/exiv2/exiv2",
"type": "GIT",
"events": [
{
"introduced": "38e2fb7ca71903e801e0bd1a043633847d385c1a"
},
{
"last_affected": "38e2fb7ca71903e801e0bd1a043633847d385c1a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:exiv2:exiv2:0.27:rc3:*:*:*:*:*:*",
"range": [
{
"introduced": "0.27-rc3"
},
{
"last_affected": "0.27-rc3"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.27-rc3",
"0.27-RC3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20098.json"
}
}
],
"modified": "2026-10-20T10:50:05.898858232Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXCEKTYF7HLM6VH2WCWO2HXTJH37MBLA/",
"https://access.redhat.com/errata/RHSA-2019:2101",
"https://github.com/TeamSeri0us/pocs/tree/master/exiv2/20181206",
"https://github.com/Exiv2/exiv2/issues/590"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-20098",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381262,
"published_at": "2018-12-12T10:29:00.787+00:00"
}