{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-36807","published":"2023-06-30T19:15:09.283000Z","last_modified":"2026-11-02T16:06:04.477000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-835"],"cpes":[{"criteria":"cpe:2.3:a:py-pdf:pypdf:2.10.5:*:*:*:*:*:*:*","part":"a","vendor":"py-pdf","product":"pypdf","version":"2.10.5"}],"cpes_truncated":false,"vendors":["py-pdf"],"products":["py-pdf/pypdf"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00681,"percentile":0.47616,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hm9v-vj3r-r55m","ecosystem":"PyPI","name":"pypdf2","purl":"pkg:pypi/pypdf2","ranges":[{"introduced":"2.10.5","fixed":"2.10.6"}],"versions":["2.10.5"],"versions_truncated":false},{"advisory":"PYSEC-2026-1836","ecosystem":"PyPI","name":"pypdf2","purl":"pkg:pypi/pypdf2","ranges":[{"introduced":"2.10.5","fixed":"2.10.6"}],"versions":["2.10.5"],"versions_truncated":false}],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2023-36807/","html_en":"/en/cve/CVE-2023-36807/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-36807","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-36807"},"untrusted":{"vendor_name":"Py-pdf","product_name":"Pypdf","desc_en":"pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In version 2.10.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. That is, for example, the case if the user extracted metadata from such a malformed PDF. Versions prior to 2.10.5 throw an error, but do not hang forever. This issue was fixed with https://github.com/py-pdf/pypdf/pull/1331 which has been included in release 2.10.6. Users are advised to upgrade. Users unable to upgrade should modify `PyPDF2/generic/_data_structures.py::read_object` to an an error throwing case. See GHSA-hm9v-vj3r-r55m for details.","affected":[{"untrusted_vendor":"py-pdf","untrusted_product":"pypdf","versions":[]},{"untrusted_vendor":"pypdf_project","untrusted_product":"pypdf","versions":[]}],"references":[{"url":"https://github.com/py-pdf/pypdf/issues/1329","tags":["Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/py-pdf/pypdf/pull/1331","tags":["Patch"]},{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-hm9v-vj3r-r55m","tags":["Exploit","Mitigation","Patch","Vendor Advisory"]}]}}