Skip to main content
No exploitation reportedFix available

CVE-2023-36810

No exploitation reported by the sources we read.

  • Published2023-06-30
  • Fixed in1.27.9
  • WeaknessCWE-407

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-06-3019:15CVE publishedNVD

Versions per branch

OSV · NVD
pypdf2
BranchAffectedFixed in
1.27< 1.27.91.27.9
Py-pdf pypdf
BranchAffectedFixed in
1.27≤ 1.27.8no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • py-pdf pypdf
    Affected
    • = < 1.27.9no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2023-07-14

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • pypdf2Ubuntu:Pro:18.04:LTSall versions · fixed in 1.26.0-2ubuntu0.1~esm2
  • pypdf2Ubuntu:Pro:16.04:LTSall versions · fixed in 1.25.1-1ubuntu0.1~esm2
  • pypdf2Ubuntu:22.04:LTSall versions · fixed in 1.26.0-4ubuntu0.22.04.2
  • pypdf2Ubuntu:20.04:LTSall versions · fixed in 1.26.0-3ubuntu1.20.04.2
  • pypdf2Debian:12all versions · fixed in 1.27.9-1
  • pypdf2Debian:10all versions · fixed in 1.26.0-2+deb10u2
  • python-pypdf2Mageia:9all versions · fixed in 1.27.9-1.mga9
  • python-pypdf2Mageia:8all versions · fixed in 1.27.9-1.mga8

Full record on NVD

Fix

  1. Update pypdf2 to 1.27.9

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published
2023-06-30
Last modified
2026-11-02
NVD status
Modified
GitHub advisory
GHSA-jrm6-h9cq-8gqw

Frequently asked questions

What is CVE-2023-36810?

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.

Is CVE-2023-36810 actively exploited?

Active exploitation of CVE-2023-36810 has not been confirmed. Its EPSS score was 0.6% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-36810?

CVE-2023-36810 has a CVSS v3 base score of 6.5 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Running pypdf2? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record