CVE-2026-31826: pypdf is a free and open-source pure-python PDF library
CVE-2026-31826 is a medium-severity flaw (CVSS 5.5) affecting pypdf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 92%) |
| CISA exploited list | No |
| Weakness | CWE-770 |
| Published | 2026-03-10 |
| Last modified | 2026-11-02 |
Last updated 2026-11-02 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-31826?
pypdf: upgrade to 6.8.0. Exact commands for each OS are on this page.
Is CVE-2026-31826 being exploited?
CVE-2026-31826 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-31826 affect?
CVE-2026-31826 affects pypdf. Severity is medium (CVSS 5.5). 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, re
How urgent is CVE-2026-31826?
Priority 21/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-113795 MEDIUM 5.5 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2026-113794 MEDIUM 5.5 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2026-113789 LOW 3.3 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2026-59937 HIGH 7.5 UPGRADE pypdf is a free and open-source pure-python PDF library
- CVE-2026-59935 HIGH 7.5 UPGRADE pypdf is a free and open-source pure-python PDF library