{"id":"CVE-2018-8036","aliases":["GHSA-j2xq-pfff-mvgg"],"kind":"cve","tier":"cold","status":"published","title":"Loop with Unreachable Exit Condition in Apache PDFBox","description":"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.","ai_summary":null,"severity":"medium","cvss":{"score":6.5,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"NVD"},"scores":[{"score":6.5,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"nvd"},{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","source":"nvd"}],"cwe":["CWE-835"],"remote":true,"remote_unauth":true,"epss":{"score":0.03931,"percentile":0.90674,"date":"2026-12-03"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"Maven","name":"org.apache.pdfbox:pdfbox","affected":">= 1.8.0, < 1.8.15","fixed":["1.8.15","2.0.11"],"source":"osv"}],"affected_products":[{"vendor":"Apache Software Foundation","product":"Apache PDFBox","versions":"1.8.0 to 1.8.14; 2.0.0RC1 to 2.0.10","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade org.apache.pdfbox:pdfbox to one of 1.8.15, 2.0.11 (or later in the same release line).","technologies":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:2669","kind":"vendor"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/POPOGHJ5CVMUVCRQU7APBAN5IVZGZFDX/","kind":"vendor"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6HKVPTJWZGUB4MH4AAOWMRJHRDBYFHGJ/","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8036","kind":"vendor"},{"url":"https://lists.apache.org/thread.html/9f62f742fd4fcd81654a9533b8a71349b064250840592bcd502dcfb6%40%3Cusers.pdfbox.apache.org%3E","kind":"other"},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html","kind":"other"},{"url":"https://lists.apache.org/thread.html/r43491b25b2e5c368c34b106a82eff910a5cea3e90de82ad75cc16540%40%3Cdev.syncope.apache.org%3E","kind":"other"},{"url":"https://lists.apache.org/thread.html/9f62f742fd4fcd81654a9533b8a71349b064250840592bcd502dcfb6@%3Cusers.pdfbox.apache.org%3E","kind":"other"},{"url":"https://lists.apache.org/thread.html/r43491b25b2e5c368c34b106a82eff910a5cea3e90de82ad75cc16540@%3Cdev.syncope.apache.org%3E","kind":"other"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6HKVPTJWZGUB4MH4AAOWMRJHRDBYFHGJ","kind":"other"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/POPOGHJ5CVMUVCRQU7APBAN5IVZGZFDX","kind":"other"}],"workarounds":null,"vendors":["apache","apache software foundation"],"products":["apache pdfbox","pdfbox"],"cpes":["cpe:2.3:a:apache:pdfbox:*:*:*:*:*:*:*:*","cpe:2.3:a:apache:pdfbox:2.0.0:rc1:*:*:*:*:*:*","cpe:2.3:a:apache:pdfbox:2.0.0:rc2:*:*:*:*:*:*","cpe:2.3:a:apache:pdfbox:2.0.0:rc3:*:*:*:*:*:*"],"published_at":"2018-07-03T20:00:00.000Z","modified_at":"2026-06-17T02:04:08.763Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8036"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-j2xq-pfff-mvgg","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2018-8036","markdown":"https://flawdb.com/CVE-2018-8036.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-8036"}}