CVE-2025-55197
Last modified
CVE-2025-55197 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. pypdf is a free and open-source pure-python PDF library. Prior to version 6.0.0, an attacker can craft a PDF which leads to the RAM being exhausted. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.0.0, an attacker can craft a PDF which leads to the RAM being exhausted. This requires just reading the file if a series of FlateDecode filters is used on a malicious cross-reference stream. Other content streams are affected on explicit access. This issue has been fixed in 6.0.0. If an update is not possible, a workaround involves including the fixed code from pypdf.filters.decompress into the existing filters file.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pypdf Project | Pypdf | < 6.0.0 |
References
- https://github.com/py-pdf/pypdf/issues/3429Issue Tracking
- https://github.com/py-pdf/pypdf/releases/tag/6.0.0Release Notes
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-7hfw-26vp-jp8mMitigation, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-55197?
How severe is CVE-2025-55197?
How do I fix CVE-2025-55197?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-55191Argo CD is a declarative, GitOps continuous delivery tool fo…5.3
- CVE-2025-55192HomeAssistant-Tapo-Control offers Control for Tapo cameras a…8.6
- CVE-2025-55193Active Record connects classes to relational database tables…2.7
- CVE-2025-55194Part-DB is an open source inventory management system for el…5.7
- CVE-2025-55195@std/toml is the Deno Standard Library. Prior to version 1.0…7.3
- CVE-2025-55196External Secrets Operator is a Kubernetes operator that inte…7.1
- CVE-2025-55198Helm is a package manager for Charts for Kubernetes. Prior t…6.5
- CVE-2025-55199Helm is a package manager for Charts for Kubernetes. Prior t…6.5
- CVE-2025-5520A vulnerability was found in Open5GS up to 2.7.3. It has bee…6.9
- CVE-2025-55200BigBlueButton is an open-source virtual classroom. In versio…5.4
- CVE-2025-55201Copier library and CLI app for rendering project templates. …8.5
- CVE-2025-55202Opencast is a free, open-source platform to support the mana…5.3
Are you affected by CVE-2025-55197?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
