{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.pdfbox:pdfbox. It affects 3 products.","exploited":"There is no known exploitation of CVE-2018-11797 in the wild and no public exploit code.","fix":"Upgrade org.apache.pdfbox:pdfbox to a fixed version for your release line: 1.8.16 or 2.0.12.","what":"CVE-2018-11797 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 5 Oct 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-11797 and fix it if it is affected.\n\nWhat it is: CVE-2018-11797 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 5 Oct 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-11797 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.16\n- org.apache.pdfbox:pdfbox (Maven): affected from 1.8.0; fixed in 1.8.16\n- org.apache.pdfbox:pdfbox (Maven): affected from 2.0.0; fixed in 2.0.12\n- org.apache.pdfbox:pdfbox (Maven): affected from 2.0.0; fixed in 2.0.12\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-11797/ (Markdown: https://insights.sbomify.com/CVE-2018-11797/index.md)","id":"CVE-2018-11797","markdown":"https://insights.sbomify.com/CVE-2018-11797/index.md","name":"CVE-2018-11797","record":{"aliases":["DEBIAN-CVE-2018-11797","DLA-1547-1","GHSA-gx96-vgf7-hwfg","SUSE-SU-2018:3755-1","UBUNTU-CVE-2018-11797"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java PDF library","requires_auth":"none","summary":"Attackers can cause denial of service by submitting crafted PDF files that trigger excessive computation during parsing in Apache PDFBox.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"pdfbox","vendor":"apache"},{"product":"fedora","vendor":"fedoraproject"},{"product":"retail_xstore_point_of_service","vendor":"oracle"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"description":"In Apache PDFBox 1.8.0 to 1.8.15 and 2.0.0RC1 to 2.0.11, a carefully crafted PDF file can trigger an extremely long running computation when parsing the page tree.","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":"In Apache PDFBox a carefully crafted PDF file can trigger an extremely long running computation","id":"CVE-2018-11797","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"fedoraproject:fedora","products":["fedoraproject:fedora","oracle:retail_xstore_point_of_service"],"type":"denial_of_service","year":"2018"},"n_packages":5,"n_references":7,"next":{"headline":"Apache Thrift Node.js static web server sandbox escape","id":"CVE-2018-11798"},"packages":[{"ecosystem":"Maven","fixed":["1.8.16"],"introduced":["1.8.0"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox","purl":null,"source":"GHSA-gx96-vgf7-hwfg"},{"ecosystem":"Maven","fixed":["1.8.16"],"introduced":["1.8.0"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox","purl":"pkg:maven/org.apache.pdfbox/pdfbox","source":"GHSA-gx96-vgf7-hwfg"},{"ecosystem":"Maven","fixed":["2.0.12"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox","purl":null,"source":"GHSA-gx96-vgf7-hwfg"},{"ecosystem":"Maven","fixed":["2.0.12"],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.pdfbox:pdfbox","purl":"pkg:maven/org.apache.pdfbox/pdfbox","source":"GHSA-gx96-vgf7-hwfg"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15","fixed":["1.8.12-5.6.3"],"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:3755-1"}],"prev":{"headline":"Apache Tika is vulnerable to entity expansions which can lead to a denial of service attack","id":"CVE-2018-11796"},"products":["Apache PDFBox"],"published":"2018-10-05","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":6.5,"headline":"Loop with Unreachable Exit Condition in Apache PDFBox","id":"CVE-2018-8036","kev_date_added":null,"published":"2018-07-03"},{"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"}],"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":"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":"Attackers can cause denial of service by submitting crafted PDF files that trigger excessive computation during parsing in Apache PDFBox.","url":"https://insights.sbomify.com/CVE-2018-11797/"}