{"id":"CVE-2021-27807","aliases":["CVE-2021-27807","GHSA-2h3j-m7gr-25xj"],"related":[],"kind":"vulnerability","state":"published","title":"A carefully crafted PDF file can trigger an infinite loop while loading the file","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Un archivo PDF cuidadosamente diseñado puede desencadenar un bucle infinito mientras se carga el archivo.&#xa0;Este problema afecta a Apache PDFBox versión 2.0.22 y versiones anteriores 2.0.x","source":"nvd"}],"published":"2021-03-19T16:05:20.000Z","modified":"2026-06-17T03:45:29.060Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-834"],"affected":[{"ranges":[{"type":"custom","introduced":"Apache PDFBox","lastAffected":"2.0.22","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache PDFBox","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.23"}],"ecosystem":"Maven","package":"org.apache.pdfbox:pdfbox","purl":"pkg:maven/org.apache.pdfbox/pdfbox","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0.0","lastAffected":"2.0.22"}],"vendor":"apache","product":"pdfbox","cpe":"cpe:2.3:a:apache:pdfbox:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"32"},{"status":"affected","version":"33"},{"status":"affected","version":"34"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"14.2.0"},{"status":"affected","version":"14.3.0"},{"status":"affected","version":"14.5.0"}],"vendor":"oracle","product":"banking_trade_finance_process_management","cpe":"cpe:2.3:a:oracle:banking_trade_finance_process_management:14.2.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"14.5"}],"vendor":"oracle","product":"banking_treasury_management","cpe":"cpe:2.3:a:oracle:banking_treasury_management:14.5:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"14.2.0"},{"status":"affected","version":"14.3.0"},{"status":"affected","version":"14.5.0"}],"vendor":"oracle","product":"banking_virtual_account_management","cpe":"cpe:2.3:a:oracle:banking_virtual_account_management:14.2.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"8.0.0","lastAffected":"8.2.4.0"}],"vendor":"oracle","product":"communications_session_report_manager","cpe":"cpe:2.3:a:oracle:communications_session_report_manager:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"14.0.0","lastAffected":"14.3.0"},{"status":"affected","version":"14.5.0"}],"vendor":"oracle","product":"flexcube_universal_banking","cpe":"cpe:2.3:a:oracle:flexcube_universal_banking:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.1.2.4"},{"status":"affected","version":"11.2.6.0"}],"vendor":"oracle","product":"hyperion_financial_reporting","cpe":"cpe:2.3:a:oracle:hyperion_financial_reporting:11.1.2.4:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"11.2.8.0"}],"vendor":"oracle","product":"hyperion_infrastructure_technology","cpe":"cpe:2.3:a:oracle:hyperion_infrastructure_technology:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.5.5"}],"vendor":"oracle","product":"outside_in_technology","cpe":"cpe:2.3:a:oracle:outside_in_technology:8.5.5:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"17.7","lastAffected":"17.12"},{"status":"affected","version":"18.8"},{"status":"affected","version":"19.12"},{"status":"affected","version":"20.12"}],"vendor":"oracle","product":"primavera_unifier","cpe":"cpe:2.3:a:oracle:primavera_unifier:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"19.0"}],"vendor":"oracle","product":"retail_customer_management_and_segmentation_foundation","cpe":"cpe:2.3:a:oracle:retail_customer_management_and_segmentation_foundation:19.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"16.0.6"},{"status":"affected","version":"17.0.4"},{"status":"affected","version":"18.0.3"},{"status":"affected","version":"19.0.2"},{"status":"affected","version":"20.0.1"}],"vendor":"oracle","product":"retail_xstore_point_of_service","cpe":"cpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.2.1.3.0"},{"status":"affected","version":"12.2.1.4.0"}],"vendor":"oracle","product":"webcenter_sites","cpe":"cpe:2.3:a:oracle:webcenter_sites:12.2.1.3.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.1"}],"vendor":"oracle","product":"communications_messaging_server","cpe":"cpe:2.3:o:oracle:communications_messaging_server:8.1:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread.html/r818058ff1e4b9f6bef4e5a2e74faff38cb3d3885c1e2db398bc55cfb%40%3Cusers.pdfbox.apache.org%3E","tags":["mailing-list","vendor-advisory","web","x-refsource-misc","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2021/03/19/9","tags":["mailing-list","vendor-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.apache.org/thread.html/r4717f902f8bc36d47b3fa978552a25e4ed3ddc2fffb52b94fbc4ab36%40%3Cusers.pdfbox.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r043edc5dcf9199f7f882ed7906b41cb816753766e88b8792dbf319a9%40%3Cannounce.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r1d268642f8b52456ee8f876b888b8ed7a9e9568c7770789f3ded7f9e%40%3Ccommits.ofbiz.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r7ee634c21816c69ce829d0c41f35afa2a53a99bdd3c7cce8644fdc0e%40%3Cnotifications.ofbiz.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/re1e35881482e07dc2be6058d9b44483457f36133cac67956686ad9b9%40%3Cnotifications.ofbiz.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/rc69140d894c6a9c67a8097a25656cce59b46a5620c354ceba10543c3%40%3Cnotifications.ofbiz.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r9ffe179385637b0b5cbdabd0246118005b4b8232909d2d14cd68ccd3%40%3Ccommits.ofbiz.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/raa35746227f3f8d50fff1db9899524423a718f6f35cd39bd4769fa6c%40%3Cnotifications.ofbiz.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r5c8e2125d18af184c80f7a986fbe47eaf0d30457cd450133adc235ac%40%3Ccommits.ofbiz.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r1218e60c32829f76943ecaca79237120c2ec1ab266459d711a578b50%40%3Cdev.pdfbox.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PT72QOFDXLJ7PLTN66EMG5EHPTE7TFZ/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6KDA2U4KL2N3XT3PM4ZJEBBA6JJIH2G4/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2AVLKAHFMPH72TTP25INPZPGX5FODK3H/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r6e067a6d83ccb6892d0ff867bd216704f21fb0b6a854dea34be04f12%40%3Cnotifications.ofbiz.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r4cbc3f6981cd0a1a482531df9d44e4c42a7f63342a7ba78b7bff8a1b%40%3Cnotifications.james.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r54594251369e14c185da9662a5340a52afbbdf75d61c9c3a69c8f2e8%40%3Cdev.pdfbox.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27807","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/pdfbox/commit/5c5a837140fbb4ef78bb5ef9f29ad537c872c83e","tags":["web"],"sources":["ghsa"]},{"url":"https://svn.apache.org/viewvc?view=revision&revision=1886911","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PT72QOFDXLJ7PLTN66EMG5EHPTE7TFZ","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6KDA2U4KL2N3XT3PM4ZJEBBA6JJIH2G4","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2AVLKAHFMPH72TTP25INPZPGX5FODK3H","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/re1e35881482e07dc2be6058d9b44483457f36133cac67956686ad9b9@%3Cnotifications.ofbiz.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/rc69140d894c6a9c67a8097a25656cce59b46a5620c354ceba10543c3@%3Cnotifications.ofbiz.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/raa35746227f3f8d50fff1db9899524423a718f6f35cd39bd4769fa6c@%3Cnotifications.ofbiz.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r9ffe179385637b0b5cbdabd0246118005b4b8232909d2d14cd68ccd3@%3Ccommits.ofbiz.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r818058ff1e4b9f6bef4e5a2e74faff38cb3d3885c1e2db398bc55cfb@%3Cusers.pdfbox.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r7ee634c21816c69ce829d0c41f35afa2a53a99bdd3c7cce8644fdc0e@%3Cnotifications.ofbiz.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r6e067a6d83ccb6892d0ff867bd216704f21fb0b6a854dea34be04f12@%3Cnotifications.ofbiz.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r5c8e2125d18af184c80f7a986fbe47eaf0d30457cd450133adc235ac@%3Ccommits.ofbiz.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r54594251369e14c185da9662a5340a52afbbdf75d61c9c3a69c8f2e8@%3Cdev.pdfbox.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r4cbc3f6981cd0a1a482531df9d44e4c42a7f63342a7ba78b7bff8a1b@%3Cnotifications.james.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r4717f902f8bc36d47b3fa978552a25e4ed3ddc2fffb52b94fbc4ab36@%3Cusers.pdfbox.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r1d268642f8b52456ee8f876b888b8ed7a9e9568c7770789f3ded7f9e@%3Ccommits.ofbiz.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r1218e60c32829f76943ecaca79237120c2ec1ab266459d711a578b50@%3Cdev.pdfbox.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r043edc5dcf9199f7f882ed7906b41cb816753766e88b8792dbf319a9@%3Cannounce.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://issues.apache.org/jira/browse/PDFBOX-4892","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/pdfbox","tags":["package"],"sources":["ghsa"]}],"credits":["Apache PDFBox would like to thank Fabian Meumertzheim for reporting this issue"],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-27807","url":"https://www.cve.org/CVERecord?id=CVE-2021-27807","licence":"CVE Terms of Use","modified":"2025-02-13T16:27:57.032Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2h3j-m7gr-25xj","url":"https://github.com/advisories/GHSA-2h3j-m7gr-25xj","licence":"CC-BY-4.0","modified":"2024-03-15T05:17:16.776Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27807","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27807","licence":"Public domain","modified":"2026-06-17T03:45:29.060Z"}],"updatedAt":"2026-11-25T22:58:00.346Z","epss":{"score":0.02993,"percentile":0.87695,"date":"2026-12-01T12:00:22.000Z"}}