{"id":"CVE-2025-66019","state":"PUBLISHED","title":"pypdf manipulated LZWDecode streams can exhaust RAM","description":"pypdf is a free and open-source pure-python PDF library. Prior to version 6.4.0, an attacker who uses this vulnerability can craft a PDF which leads to a memory usage of up to 1 GB per stream. This requires parsing the content stream of a page using the LZWDecode filter. This issue has been patched in version 6.4.0.","publishedAt":"2025-11-25T23:38:12.473Z","updatedAt":"2026-01-20T18:33:02.928Z","severity":{"score":6.6,"label":"Medium","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["py-pdf pypdf"],"affected":[{"vendor":"py-pdf","product":"pypdf","versions":[{"version":"< 6.4.0","status":"affected"}]}],"references":["https://github.com/py-pdf/pypdf/security/advisories/GHSA-m449-cwjh-6pw7","https://github.com/py-pdf/pypdf/commit/96186725e5e6f237129a58a97cd19204a9ce40b2","https://github.com/py-pdf/pypdf/releases/tag/6.4.0","https://aydinnyunus.github.io/2025/12/20/cve-2025-66019-pypdf-lzw-dos/"],"weaknesses":["CWE-400","CWE-409"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/66xxx/CVE-2025-66019.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66019","state":"PUBLISHED","datePublished":"2025-11-25T23:38:12.473Z","dateUpdated":"2026-01-20T18:33:02.928Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-11-21T01:08:02.613Z"},"containers":{"cna":{"title":"pypdf manipulated LZWDecode streams can exhaust RAM","descriptions":[{"lang":"en","value":"pypdf is a free and open-source pure-python PDF library. Prior to version 6.4.0, an attacker who uses this vulnerability can craft a PDF which leads to a memory usage of up to 1 GB per stream. This requires parsing the content stream of a page using the LZWDecode filter. This issue has been patched in version 6.4.0."}],"affected":[{"vendor":"py-pdf","product":"pypdf","versions":[{"version":"< 6.4.0","status":"affected"}]}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-m449-cwjh-6pw7","name":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-m449-cwjh-6pw7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/commit/96186725e5e6f237129a58a97cd19204a9ce40b2","name":"https://github.com/py-pdf/pypdf/commit/96186725e5e6f237129a58a97cd19204a9ce40b2","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.4.0","name":"https://github.com/py-pdf/pypdf/releases/tag/6.4.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.6,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-409","lang":"en","description":"CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-11-25T23:38:12.473Z"},"source":{"advisory":"GHSA-m449-cwjh-6pw7","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-26T16:12:41.650530Z","id":"CVE-2025-66019","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-26T16:12:49.920Z"}},{"title":"CVE Program Container","references":[{"url":"https://aydinnyunus.github.io/2025/12/20/cve-2025-66019-pypdf-lzw-dos/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-01-20T18:33:02.928Z"},"x_generator":{"engine":"ADPogram 0.0.1"}}]}}}