CVE-2023-36810
Description
pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. An attacker who uses this vulnerability can craft a PDF which leads to unexpected long runtime. This quadratic runtime blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. This issue has been addressed in PR 808 and versions from 1.27.9 include this fix. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Severity
MEDIUM
CVSS v3
6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source cna
Exploit chance (EPSS)
0.630%
chance of exploitation in the next 30 days
higher than 50.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-407: Inefficient Algorithmic Complexity
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2024-11-04 |
Timeline
- 2023-06-30Published by the CNA18:43 UTC
- 2023-06-30GitHub advisory published (GHSA-jrm6-h9cq-8gqw)same day
- 2024-11-04CISA SSVC decision recorded493 days after publication
Exploit and advisory records
GitHub advisory GHSA-jrm6-h9cq-8gqw, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI pypdf2 | before 1.27.9 | 1.27.9 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| py-pdf pypdf | through 1.27.8no fix listed | not listed |
References
- https://github.com/py-pdf/pypdf/pull/808
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-jrm6-h9cq-8gqw
- https://github.com/py-pdf/pypdf/issues/582
- https://lists.debian.org/debian-lts-announce/2023/07/msg00019.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-36810'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-36810'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-36810'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-36810'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).