{"id":"CVE-2021-27807","published":"2021-03-19T16:05:20Z","modified":"2025-02-13T16:27:57Z","title":"A carefully crafted PDF file can trigger an infinite loop while loading the file","vendor":"Apache","product":"Apache PDFBox","tier":"tail","description":{"text":"A carefully crafted PDF file can trigger an infinite loop while loading the file. This issue affects Apache PDFBox version 2.0.22 and prior 2.0.x versions.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02993,"percentile":0.87658,"provenance":"source"},"cwes":[{"id":"CWE-834","name":"Excessive Iteration"}],"references":[{"url":"https://lists.apache.org/thread.html/r818058ff1e4b9f6bef4e5a2e74faff38cb3d3885c1e2db398bc55cfb%40%3Cusers.pdfbox.apache.org%3E","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2021/03/19/9","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r4717f902f8bc36d47b3fa978552a25e4ed3ddc2fffb52b94fbc4ab36%40%3Cusers.pdfbox.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r043edc5dcf9199f7f882ed7906b41cb816753766e88b8792dbf319a9%40%3Cannounce.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r1d268642f8b52456ee8f876b888b8ed7a9e9568c7770789f3ded7f9e%40%3Ccommits.ofbiz.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r7ee634c21816c69ce829d0c41f35afa2a53a99bdd3c7cce8644fdc0e%40%3Cnotifications.ofbiz.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/re1e35881482e07dc2be6058d9b44483457f36133cac67956686ad9b9%40%3Cnotifications.ofbiz.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rc69140d894c6a9c67a8097a25656cce59b46a5620c354ceba10543c3%40%3Cnotifications.ofbiz.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r9ffe179385637b0b5cbdabd0246118005b4b8232909d2d14cd68ccd3%40%3Ccommits.ofbiz.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/raa35746227f3f8d50fff1db9899524423a718f6f35cd39bd4769fa6c%40%3Cnotifications.ofbiz.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r5c8e2125d18af184c80f7a986fbe47eaf0d30457cd450133adc235ac%40%3Ccommits.ofbiz.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r1218e60c32829f76943ecaca79237120c2ec1ab266459d711a578b50%40%3Cdev.pdfbox.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PT72QOFDXLJ7PLTN66EMG5EHPTE7TFZ/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6KDA2U4KL2N3XT3PM4ZJEBBA6JJIH2G4/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2AVLKAHFMPH72TTP25INPZPGX5FODK3H/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.apache.org/thread.html/r6e067a6d83ccb6892d0ff867bd216704f21fb0b6a854dea34be04f12%40%3Cnotifications.ofbiz.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r4cbc3f6981cd0a1a482531df9d44e4c42a7f63342a7ba78b7bff8a1b%40%3Cnotifications.james.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r54594251369e14c185da9662a5340a52afbbdf75d61c9c3a69c8f2e8%40%3Cdev.pdfbox.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":17.53}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache PDFBox","versions":[">= Apache PDFBox, <= 2.0.22"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.pdfbox:pdfbox","vulnerableRanges":[">=2.0.0, <2.0.23"],"patched":["2.0.23"],"from":["GHSA-2h3j-m7gr-25xj"],"provenance":"source"}],"summary":{"text":"A flaw in Apache PDFBox, the Java library for handling PDF documents, causes the software to enter an infinite loop while loading certain PDF files, affecting version 2.0.22 and earlier 2.0.x releases. An attacker who can supply a specially crafted PDF to an application using the affected library can cause it to hang and consume resources, with the attack vector and any required authentication or user interaction not specified in the available information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:15Z"},"euvd":{"id":"EUVD-2021-1242","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-8036","published":"2018-07-03","fixed":"2.0.11","kev":false},{"cve":"CVE-2018-11797","published":"2018-10-05","fixed":"2.0.12","kev":false},{"cve":"CVE-2019-0228","published":"2019-04-17","fixed":"2.0.15","kev":false,"link":{"from":"CVE-2019-0228","to":"CVE-2021-27807","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.pdfbox:pdfbox","fromFixed":"2.0.15","toFixed":"2.0.23","daysApart":702}]}},{"cve":"CVE-2021-27807","published":"2021-03-19","fixed":"2.0.23","kev":false},{"cve":"CVE-2021-27906","published":"2021-03-19","fixed":"2.0.23","kev":false},{"cve":"CVE-2021-31811","published":"2021-06-12","fixed":"2.0.24","kev":false,"link":{"from":"CVE-2021-27807","to":"CVE-2021-31811","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.pdfbox:pdfbox","fromFixed":"2.0.23","toFixed":"2.0.24","daysApart":85}]}},{"cve":"CVE-2021-31812","published":"2021-06-12","fixed":"2.0.24","kev":false,"link":{"from":"CVE-2021-27807","to":"CVE-2021-31812","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.pdfbox:pdfbox","fromFixed":"2.0.23","toFixed":"2.0.24","daysApart":85}]}}],"package":"Maven:org.apache.pdfbox:pdfbox"}}