{"id":"CVE-2025-55197","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-55197","generatedAt":"2026-10-28T02:20:50.265Z","title":"Prior to version 6.0.0, an attacker can craft a PDF which leads to the RAM being exhausted.","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.","published":"2025-08-13T23:15:28.000Z","lastModified":"2026-06-17T09:41:26.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"4.0","score":6.6,"severity":"MEDIUM","vector":"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/M"},"cwe":["CWE-400","CWE-770"],"affected":["pypdf project/pypdf"],"epss":{"score":0.00477,"percentile":0.40951,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.48%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/py-pdf/pypdf/blob/0dd57738bbdcdb63f0fb43d8a6b3d222b6946595/pypdf/filters.py#L72-L143","tags":["Product"],"source":"security-advisories@github.com"},{"url":"https://github.com/py-pdf/pypdf/issues/3429","tags":["Issue Tracking"],"source":"security-advisories@github.com"},{"url":"https://github.com/py-pdf/pypdf/pull/3430","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.0.0","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-7hfw-26vp-jp8m","tags":["Mitigation","Third Party Advisory"],"source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-55197","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}