CVE-2026-31826: py-pdf pypdf
CVSS: 6.8v4.0MediumAnalyzed
AliasesGHSA-hqmh-ppp3-xvm7PYSEC-2026-3019UBUNTU-CVE-2026-31826DEBIAN-CVE-2026-31826CGA-29j8-f3w4-7625CGA-r476-7v24-rrhxopenSUSE-SU-2026:10332-1openSUSE-SU-2026:10334-1openSUSE-SU-2026:20375-1CGA-246x-87p5-3g89CGA-cmm8-6xrw-pcv3CGA-fxh3-3w76-2m4g
Published 10-03-2026Last modified 11-03-2026
Vulnerability summary
CVE-2026-31826 is a medium (CVSS 6.8) vulnerability in py-pdf pypdf. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 7.7% of scored vulnerabilities.
CVSS score
6.8/10
010
Medium · v4.0 (CVE.org)EPSS score
0.19%
0%100%
Low · +0.01 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 10-03-2026PublishedVulnerability first disclosed.
- 11-03-2026Last modifiedVulnerability information updated.
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.8.0, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing a content stream with a rather large /Length value, regardless of the actual data length inside the stream. This vulnerability is fixed in 6.8.0.
CVSS metrics
9 scores · 7 sources · 2 versionsMedium 6.8Preferred score · CVE.org (CNA)
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NSourcesAll 6 agree
- OSV · PypiEcosystem advisory · calculated6.8MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated6.8MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated6.8MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.8MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- NVDNIST6.8MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Medium 5.5Preferred score · OSV · Ubuntu (Ecosystem advisory) · calculated from vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HSourcesAll 3 agree
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
+0.01 pp
From 0.17% on 20-09-2026
20-09-202620-10-2026
EPSS score0.19%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- litellm< 1.81.14-r1
- nemo< 2.7.0-r2
- open-webui< 0.8.10-r1
Opensuse3 products
- python-PyPDF2&distro=openSUSE Leap 16.0< 2.11.1-bp160.4.1
- python-PyPDF2&distro=openSUSE Tumbleweed< 2.11.1-7.1
- python-pypdf&distro=openSUSE Tumbleweed< 6.8.0-1.1
Debian2 products
- pypdfAll versions (No fix recorded) | < 6.9.0-1
- pypdf2All versions (No fix recorded)
Py-pdf1 product
- pypdf< 6.8.0
Pypdf_project1 product
- pypdf< 6.8.0
PyPI1 product
- pypdf< 6.8.0
Ubuntu1 product
- pypdfAll versions (No fix recorded)
Wolfi1 product
- open-webui< 0.8.10-r1
8 vendors · 13 products
References
14 links- github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7X Refsource CONFIRMWEBAdvisoryPatchVendor Advisory
- github.com/py-pdf/pypdfPACKAGE
- pypi.org/project/pypdfPACKAGE