Medium severityOSV Advisory· Published Nov 26, 2025· Updated Apr 15, 2026
CVE-2025-66019
CVE-2025-66019
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pypdfPyPI | < 6.4.0 | 6.4.0 |
Affected products
8- osv-coords7 versionspkg:apk/chainguard/nemopkg:apk/chainguard/open-webuipkg:apk/chainguard/open-webui-compatpkg:apk/wolfi/open-webuipkg:apk/wolfi/open-webui-compatpkg:pypi/pypdfpkg:rpm/opensuse/python-pypdf&distro=openSUSE%20Tumbleweed
< 2.5.3-r1+ 6 more
- (no CPE)range: < 2.5.3-r1
- (no CPE)range: < 0.6.40-r0
- (no CPE)range: < 0.6.40-r0
- (no CPE)range: < 0.6.40-r0
- (no CPE)range: < 0.6.40-r0
- (no CPE)range: < 6.4.0
- (no CPE)range: < 6.4.0-1.1
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-m449-cwjh-6pw7ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-66019ghsaADVISORY
- aydinnyunus.github.io/2025/12/20/cve-2025-66019-pypdf-lzw-dosghsaWEB
- github.com/py-pdf/pypdf/commit/96186725e5e6f237129a58a97cd19204a9ce40b2nvdWEB
- github.com/py-pdf/pypdf/releases/tag/6.4.0nvdWEB
- github.com/py-pdf/pypdf/security/advisories/GHSA-jfx9-29x2-rv3jghsaWEB
- github.com/py-pdf/pypdf/security/advisories/GHSA-m449-cwjh-6pw7nvdWEB
- aydinnyunus.github.io/2025/12/20/cve-2025-66019-pypdf-lzw-dos/nvd
News mentions
0No linked articles in our index yet.