---
cve: "CVE-2026-31826"
severity: "MEDIUM"
cvss: 6.8
epss: "17%"
vendor: "py-pdf"
kev: false
exploited: false
published: "2026-03-10 22:16:20"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-12T22:39:29+02:00"
---

# CVE-2026-31826

> 6.8 MEDIUM · 🧪 PoC

## Beschreibung

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-Vektor

```
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |

## Patch verfügbar (OSV)

- a869eceb57e1f98d118e8b73c6169bdc519cbc57 (Commit)

## Referenzen

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7>
- <https://github.com/py-pdf/pypdf/pull/3675>
- <https://github.com/py-pdf/pypdf/releases/tag/6.8.0>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-31826) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
