CVSS 4.0
6.9 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NMedium (6.9) in py-pdf pypdf. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in pypdf 6.13.3.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:Hpypdf (PyPI): fixed in 6.13.3Explain CVE-2026-57204 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-57204?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-57204?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-57204 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| py-pdf:pypdf | before 6.13.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-jm82-fx9c-mx94 | PyPI | pypdf | <6.13.3 | 6.13.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | pypdf, pypdf2 | no fix listed | DEBIAN-CVE-2026-57204 |
| Debian | 13 | pypdf | no fix listed | DEBIAN-CVE-2026-57204 |
| Debian | 14 | pypdf | 6.19.0-1 | DEBIAN-CVE-2026-57204 |
| Ubuntu | 24.04:LTS, 25.10, 26.04:LTS and 1 more | pypdf | no fix listed | UBUNTU-CVE-2026-57204 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
This Moderate flaw in pypdf can lead to a Denial of Service (DoS) due to uncontrolled memory consumption when processing a specially crafted PDF file. The vulnerability arises from the library's failure to properly enforce stream length limits in certain scenarios, allowing an attacker to exhaust system resources. Red Hat products that process untrusted PDF content, such as Red Hat Enterprise Linux AI, Red Hat Quay, Red Hat Ansible Automation Platform, and OpenShift Lightspeed, are affected if they handle untrusted PDF inputs.
To mitigate this issue, Red Hat recommends avoiding the processing of untrusted PDF files with applications utilizing the pypdf library. Additionally, deploying applications that handle PDF content within a sandboxed environment can limit the potential impact of successful exploitation.
| Product | Package | State | Advisory |
|---|---|---|---|
| Exploit Intelligence | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-ocp-rag-rhel9 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-chatbot-rhel8 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-gaudi-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-rocm-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/disk-image-cuda-rhel9 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-llama-stack-core-rhel9 | Fix deferred | |
| Red Hat Quay 3 | quay/quay-rhel8 | Fix deferred | |
| Red Hat Quay 3 | quay/quay-rhel9 | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-57204.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.