{"cve":"CVE-2025-55197","nvd":{"published":"2025-08-13T23:15:27.660","modified":"2026-06-17T09:41:26.403","status":"Analyzed","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.","cvss_v4":{"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","score":6.6},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400","CWE-770"],"references":["https://github.com/py-pdf/pypdf/blob/0dd57738bbdcdb63f0fb43d8a6b3d222b6946595/pypdf/filters.py#L72-L143","https://github.com/py-pdf/pypdf/issues/3429","https://github.com/py-pdf/pypdf/pull/3430","https://github.com/py-pdf/pypdf/releases/tag/6.0.0","https://github.com/py-pdf/pypdf/security/advisories/GHSA-7hfw-26vp-jp8m"],"products":["pypdf_project:pypdf"],"source":"nvd","synced_at":"2026-10-19T22:06:45.861874017+00:00"},"epss":{"cve":"CVE-2025-55197","score":0.00477,"percentile":0.41246,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7hfw-26vp-jp8m","url":"https://osv.dev/vulnerability/GHSA-7hfw-26vp-jp8m","summary":"PyPDF's Manipulated FlateDecode streams can exhaust RAM","modified":"2026-09-10T03:50:26.651449913Z","packages":[{"ecosystem":"PyPI","name":"pypdf","purl":"pkg:pypi/pypdf","ranges":["<6.0.0"],"fixed":["6.0.0"]}]},{"id":"PYSEC-2026-1830","url":"https://osv.dev/vulnerability/PYSEC-2026-1830","summary":"PyPDF's Manipulated FlateDecode streams can exhaust RAM","modified":"2026-07-07T17:46:59.107811845Z","packages":[{"ecosystem":"PyPI","name":"pypdf","purl":"pkg:pypi/pypdf","ranges":["<6.0.0"],"fixed":["6.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}