Medium
Security advisory
In Apache PDFBox 1.8.0 to 1.8.14 and 2.0.0RC1 to 2.0.10, a carefully crafted (or fuzzed) file can trigger an infinite loop which leads to an out of memory exception in Apache PDFBox's AFMParser.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-8036
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:29 UTC · Revision 1
Source evidence
In Apache PDFBox 1.8.0 to 1.8.14 and 2.0.0RC1 to 2.0.10, a carefully crafted (or fuzzed) file can trigger an infinite loop which leads to an out of memory exception in Apache PDFBox's AFMParser.
osv:CVE-2018-8036
Complete source record
{
"id": "14cad8eb373d52f4d00f27e652d01cad7ec64cc2135e33ea936a0306ea32fb85",
"url": "https://osv.dev/vulnerability/CVE-2018-8036",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-8036",
"summary": "In Apache PDFBox 1.8.0 to 1.8.14 and 2.0.0RC1 to 2.0.10, a carefully crafted (or fuzzed) file can trigger an infinite loop which leads to an out of memory exception in Apache PDFBox's AFMParser.",
"evidence": "osv:CVE-2018-8036",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-8036",
"aliases": [
"CVE-2018-8036",
"GHSA-j2xq-pfff-mvgg"
],
"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/apache/pdfbox",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "a48b3adb3386a3e9d9c93f7341aeed113cc95333"
},
{
"introduced": "9b2e8e73b853d38490de98041627a3f9b075eb96"
},
{
"last_affected": "a625e6e1aa6df28a1b345501eefcc5be62a463d2"
},
{
"introduced": "8890ccbf0b3a233578b952748ce090f54c53fea7"
},
{
"last_affected": "1400def5c88140cc9be1245b9b4774a9d558d73c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:pdfbox:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.8.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:pdfbox:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"last_affected": "2.0.10"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:pdfbox:2.0.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-rc1"
},
{
"last_affected": "2.0.0-rc1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:pdfbox:2.0.0:rc2:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-rc2"
},
{
"last_affected": "2.0.0-rc2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:pdfbox:2.0.0:rc3:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0-rc3"
},
{
"last_affected": "2.0.0-rc3"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.0.0-rc1",
"2.0.0-rc2",
"2.0.0-rc3",
"2.0.0-RC3",
"2.0.10",
"1.8.14"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-8036.json"
}
}
],
"modified": "2026-10-24T10:30:29.476548017Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/9f62f742fd4fcd81654a9533b8a71349b064250840592bcd502dcfb6%40%3Cusers.pdfbox.apache.org%3E",
"https://lists.apache.org/thread.html/r43491b25b2e5c368c34b106a82eff910a5cea3e90de82ad75cc16540%40%3Cdev.syncope.apache.org%3E",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6HKVPTJWZGUB4MH4AAOWMRJHRDBYFHGJ/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/POPOGHJ5CVMUVCRQU7APBAN5IVZGZFDX/",
"https://www.oracle.com/security-alerts/cpuapr2020.html",
"https://access.redhat.com/errata/RHSA-2018:2669"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-8036",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 432333,
"published_at": "2018-07-03T20:29:00.247+00:00"
}