6.5

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

CVSS: 6.5v3.1MediumModified
AliasesMGASA-2023-0254GHSA-jrm6-h9cq-8gqwPYSEC-2026-1837
Published 30-06-2023Last modified 13-02-2025

Vulnerability summary

CVE-2023-36810 is a medium (CVSS 6.5) Inefficient Algorithmic Complexity vulnerability in py-pdf pypdf. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 49.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.63%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 30-06-2023
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.63%

Chance of exploitation in the next 30 days

Percentile

49%

Versus all other CVEs

30-day change

0.00 pp

From 0.63% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.63%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Pypdf

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Mageia2 products
  • python-pypdf2< 1.27.9-1.mga8
  • python-pypdf2< 1.27.9-1.mga9
Debian1 product
  • pypdf2< 1.26.0-2+deb10u2 | < 1.27.9-1
Py-pdf1 product
Pypdf_project1 product
PyPI1 product
  • pypdf2< 1.27.9
Ubuntu1 product
  • pypdf2< 1.25.1-1ubuntu0.1~esm2 | < 1.26.0-2ubuntu0.1~esm2 | < 1.26.0-3ubuntu1.20.04.2 | < 1.26.0-4ubuntu0.22.04.2

6 vendors · 7 products

References

16 links
Show all 16 references