{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.pdfbox:pdfbox. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-8036 in the wild and no public exploit code.","fix":"Upgrade org.apache.pdfbox:pdfbox to a fixed version for your release line: 1.8.15 or 2.0.11.","what":"CVE-2018-8036 is a medium-severity denial of service vulnerability in Apache PDFBox, published on 3 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-8036 and fix it if it is affected.\n\nWhat it is: CVE-2018-8036 is a medium-severity denial of service vulnerability in Apache PDFBox, published on 3 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-8036 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.pdfbox:pdfbox (Maven): affected from 1.8.0; fixed in 1.8.15\n- org.apache.pdfbox:pdfbox (Maven): affected from 1.8.0; fixed in 1.8.15\n- org.apache.pdfbox:pdfbox (Maven): affected from 2.0.0RC1; fixed in 2.0.11\n- org.apache.pdfbox:pdfbox (Maven): affected from 2.0.0RC1; fixed in 2.0.11\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-8036/ (Markdown: https://insights.sbomify.com/CVE-2018-8036/index.md)","id":"CVE-2018-8036","markdown":"https://insights.sbomify.com/CVE-2018-8036/index.md","name":"CVE-2018-8036","record":{"aliases":["DEBIAN-CVE-2018-8036","GHSA-j2xq-pfff-mvgg","SUSE-SU-2018:2630-1","UBUNTU-CVE-2018-8036"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java PDF library","requires_auth":"none","summary":"A crafted PDF file triggers an infinite loop in Apache PDFBox, causing an out-of-memory exception and denial of service.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"pdfbox","vendor":"apache"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"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.","ecosystems":["Maven","SUSE:Linux Enterprise Module for Development Tools 15"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Loop with Unreachable Exit Condition in Apache PDFBox","id":"CVE-2018-8036","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2018"},"n_packages":5,"n_references":6,"next":{"headline":"Apache Tomcat Race Condition vulnerability","id":"CVE-2018-8037"},"packages":[{"ecosystem":"Maven","fixed":["1.8.15"],"introduced":["1.8.0"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox","purl":null,"source":"GHSA-j2xq-pfff-mvgg"},{"ecosystem":"Maven","fixed":["1.8.15"],"introduced":["1.8.0"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox","purl":"pkg:maven/org.apache.pdfbox/pdfbox","source":"GHSA-j2xq-pfff-mvgg"},{"ecosystem":"Maven","fixed":["2.0.11"],"introduced":["2.0.0RC1"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox","purl":null,"source":"GHSA-j2xq-pfff-mvgg"},{"ecosystem":"Maven","fixed":["2.0.11"],"introduced":["2.0.0RC1"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox","purl":"pkg:maven/org.apache.pdfbox/pdfbox","source":"GHSA-j2xq-pfff-mvgg"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15","fixed":["1.8.12-5.3.13"],"introduced":["0"],"last_affected":[],"package":"apache-pdfbox","purl":"pkg:rpm/suse/apache-pdfbox\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015","source":"SUSE-SU-2018:2630-1"}],"prev":{"headline":"Cross-site Scripting in Apache UIMA","id":"CVE-2018-8035"},"products":["Apache PDFBox"],"published":"2018-07-03","related":[{"cvss_score":7.8,"headline":"High severity vulnerability that affects org.apache.pdfbox:pdfbox","id":"CVE-2016-2175","kev_date_added":null,"published":"2016-06-01"},{"cvss_score":5.5,"headline":"A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading a tiny file","id":"CVE-2021-31811","kev_date_added":null,"published":"2021-06-12"},{"cvss_score":5.5,"headline":"A carefully crafted PDF file can trigger an infinite loop while loading the file","id":"CVE-2021-31812","kev_date_added":null,"published":"2021-06-12"},{"cvss_score":5.5,"headline":"A carefully crafted PDF file can trigger an infinite loop while loading the file","id":"CVE-2021-27807","kev_date_added":null,"published":"2021-03-19"},{"cvss_score":5.5,"headline":"A carefully crafted PDF file can trigger an OutOfMemory-Exception while loading the file","id":"CVE-2021-27906","kev_date_added":null,"published":"2021-03-19"},{"cvss_score":5.5,"headline":"In Apache PDFBox a carefully crafted PDF file can trigger an extremely long running computation","id":"CVE-2018-11797","kev_date_added":null,"published":"2018-10-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Apache Software Foundation"]},"summary":"A crafted PDF file triggers an infinite loop in Apache PDFBox, causing an out-of-memory exception and denial of service.","url":"https://insights.sbomify.com/CVE-2018-8036/"}