cve.bz

CVE-2023-36810 py-pdf pypdf: Inefficient Algorithmic Complexity

6.5 mediumExploit referenceEPSS 0.6%Fix available

Medium (6.5) in py-pdf pypdf. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in pypdf2 1.27.9.

On this page
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

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-11-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-36810 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-36810?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-36810?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-36810 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
py-pdf:pypdfthrough 1.27.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jrm6-h9cq-8gqwPyPIpypdf2<1.27.91.27.9
PYSEC-2026-1837PyPIpypdf2<1.27.91.27.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10pypdf21.26.0-2+deb10u2DLA-3497-1
Debian12pypdf21.27.9-1DEBIAN-CVE-2023-36810
Ubuntu20.04:LTSpypdf21.26.0-3ubuntu1.20.04.2UBUNTU-CVE-2023-36810 USN-6280-1
Ubuntu22.04:LTSpypdf21.26.0-4ubuntu0.22.04.2UBUNTU-CVE-2023-36810 USN-6280-1
UbuntuPro:16.04:LTSpypdf21.25.1-1ubuntu0.1~esm2UBUNTU-CVE-2023-36810 USN-6280-1
UbuntuPro:18.04:LTSpypdf21.26.0-2ubuntu0.1~esm2UBUNTU-CVE-2023-36810 USN-6280-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

References

Check your stackJSON