CVE-2023-36810

Quadratic runtime with malformed PDF missing xref marker in pypdf

Published Jun 30, 2023 CVSS 3.1 · 6.2 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3497-1 pypdf2 security update
EUVD EUVD EUVD-2023-1837 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.
Github GHSA Github GHSA GHSA-jrm6-h9cq-8gqw PyPDF2 quadratic runtime with malformed PDF missing xref marker
Ubuntu USN Ubuntu USN USN-6280-1 PyPDF2 vulnerability
History
Type Values Removed Values Added
First Time appeared Py-pdf
Py-pdf pypdf
CPEs cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:* cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*
Vendors & Products Pypdf Project
Pypdf Project pypdf
Py-pdf
Py-pdf pypdf
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 13, 2025, 4:56 PM
Reserved
Jun 27, 2023, 3:43 PM
Status
Modified
Published
Jun 30, 2023, 7:15 PM
Modified
Nov 2, 2026, 4:06 PM