● PyPI package
pypdf
Pypdf has 69 security advisories. The newest release any of them names as the fix is 6.21.4.
As of , pypdf has 69 security advisories. The newest release any of them names as the fix is 6.21.4.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| Before 6.21.4 | 6.21.4 | 69 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-119203GHSA-5849-834g-hvw5 | pypdf has possible infinite loop when hitting EOF in standard xref table during trailer searchHigh severity | Before 6.21.4 | 6.21.4 | |
| CVE-2026-119204GHSA-cggf-277g-3q54 | pypdf has possible large memory usage when parsing page treeHigh severity | Before 6.21.4 | 6.21.4 | |
| CVE-2026-119205GHSA-mfr5-77xh-9j7h | pypdf has possible infinite loop when cloning dictionariesHigh severity | Before 6.21.4 | 6.21.4 | |
| CVE-2026-119206GHSA-42gh-23hr-vphw | pypdf has possible long runtimes when retrieving page labelsHigh severity | Before 6.21.3 | 6.21.3 | |
| CVE-2026-119207GHSA-4vqv-7265-gm2w | pypdf has possible large memory usage for exceptions in strict modeHigh severity | Before 6.21.3 | 6.21.3 | |
| CVE-2026-119208GHSA-62m5-6wh8-28x7 | pypdf has possible long runtimes/large memory usage for encrypted PDF filesHigh severity | Before 6.21.3 | 6.21.3 | |
| CVE-2026-119209GHSA-x3rh-gjgm-fmqc | pypdf has possible large memory usage when parsing cross-reference streamsHigh severity | Before 6.21.3 | 6.21.3 | |
| CVE-2026-115572GHSA-6c7f-9265-g8fw | pypdf: Possible long runtimes for repeated references to the same missing objectHigh severity | Before 6.21.2 | 6.21.2 | |
| CVE-2026-115585GHSA-jr96-gvgh-j3r4 | pypdf: Possible long runtimes for repeated malformed cross-reference entries (Follow-up)High severity | Before 6.21.2 | 6.21.2 | |
| CVE-2026-115580GHSA-gmh7-3g9r-mjh5 | pypdf: Possible long runtimes for large xref table header limitsHigh severity | Before 6.21.2 | 6.21.2 | |
| CVE-2026-113789GHSA-6vvc-x485-93v7 | pypdf: Possible long runtimes/large memory usage when retrieving form fieldsModerate severity | Before 6.21.0 | 6.21.0 | |
| CVE-2026-113790GHSA-f54x-cmq8-qg57 | pypdf: Possible large memory usage when parsing arrays and dictionariesModerate severity | Before 6.21.0 | 6.21.0 | |
| CVE-2026-113791GHSA-cgf9-327m-v77c | pypdf: Possible large memory usage when parsing content streamsModerate severity | Before 6.21.0 | 6.21.0 | |
| CVE-2026-113786GHSA-5hx5-vpf9-5wcv | pypdf: Unvalidated JPEG image data loadingLow severity | Before 6.21.1 | 6.21.1 | |
| CVE-2026-113792GHSA-qfv9-64jg-mh7p | pypdf: Possible infinite loop in PdfWriter.find_outline_itemModerate severity | Before 6.20.1 | 6.20.1 | |
| CVE-2026-113793GHSA-9mx8-4j7g-633p | pypdf: Possible infinite loop when removing tree itemsModerate severity | Before 6.20.1 | 6.20.1 | |
| CVE-2026-113794GHSA-39mj-jf6j-2qj3 | pypdf: Possible infinite loop when hitting EOF in standard xref tableModerate severity | Before 6.20.0 | 6.20.0 | |
| CVE-2026-113795GHSA-7mh2-4gg2-979f | pypdf: Possible large memory usage for streams with multiple filtersModerate severity | Before 6.20.0 | 6.20.0 | |
| CVE-2026-102999GHSA-v247-6f48-mgcj, PYSEC-2026-4159 | pypdf: Possible long runtimes with large amount of embedded filesHigh severity | Before 6.19.0 | 6.19.0 | |
| CVE-2026-102998GHSA-php9-fj8v-98fj, PYSEC-2026-4157 | pypdf: Possible long runtimes when generating appearance streamsHigh severity | Before 6.19.0 | 6.19.0 | |
| CVE-2026-103000GHSA-w23x-9jrw-r45c, PYSEC-2026-4160 | pypdf: Possible large memory usage when retrieving alphabetical page labelsHigh severity | Before 6.19.0 | 6.19.0 | |
| CVE-2026-102997GHSA-jw7q-gvrg-4vj3, PYSEC-2026-4156 | pypdf: Possible long runtimes for partially malformed FlateDecode streams (Follow-up)High severity | Before 6.18.1 | 6.18.1 | |
| CVE-2026-102996GHSA-g9cg-prrw-2r8q, PYSEC-2026-4155 | pypdf: Possible large memory usage when parsing font dataHigh severity | Before 6.18.1 | 6.18.1 | |
| CVE-2026-102995GHSA-fp3h-c4fm-7vvf, PYSEC-2026-4154 | pypdf: Possible large memory usage for large /ToUnicode streams (Follow-up 2)High severity | Before 6.18.1 | 6.18.1 | |
| CVE-2026-102994GHSA-5jq2-8x83-x246, PYSEC-2026-4153 | pypdf: Possible long runtimes/large memory usage when parsing indirect objectsHigh severity | Before 6.18.0 | 6.18.0 | |
| CVE-2026-102993GHSA-qv6h-rv94-w285, PYSEC-2026-4158 | pypdf: Possible large memory usage when retrieving Roman page labelsHigh severity | Before 6.17.0 | 6.17.0 | |
| CVE-2026-82398GHSA-fc8x-2rww-xw9m, PYSEC-2026-3912 | pypdf: Inefficient handling of non-whitespace inputs in read_until_whitespaceModerate severity | Before 6.15.0 | 6.15.0 | |
| CVE-2026-84310GHSA-23w6-3w8w-8484, PYSEC-2026-3910 | pypdf: Possible long runtimes/large memory usage when retrieving outlinesModerate severity | Before 6.16.1 | 6.16.1 | |
| CVE-2026-84311GHSA-763m-79hh-57f2, PYSEC-2026-3911 | pypdf: Possible long runtimes/large memory usage when extracting XForm objectsModerate severity | Before 6.16.1 | 6.16.1 | |
| CVE-2026-84309GHSA-jp53-mhqp-8xcg, PYSEC-2026-3913 | pypdf: Possible infinite loop for TreeObject.insert_childModerate severity | Before 6.16.0 | 6.16.0 | |
| CVE-2026-71870GHSA-fp3f-mc75-235c, PYSEC-2026-3655 | pypdf: Possible large memory usage for large /ToUnicode streamsModerate severity | Before 6.15.0 | 6.15.0 | |
| CVE-2026-71852GHSA-fwg2-594c-jp42, PYSEC-2026-3656 | pypdf: Possible long runtimes/large memory usage for large CID font width rangesModerate severity | Before 6.15.0 | 6.15.0 | |
| CVE-2026-59935GHSA-g867-7843-wf8q, PYSEC-2026-3613 | pypdf: Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter)High severity | Before 6.14.2 | 6.14.2 | |
| CVE-2026-59936GHSA-5xf7-4p34-54qr, PYSEC-2026-3612 | pypdf: Possible infinite loop for not terminated inline imagesHigh severity | Before 6.14.1 | 6.14.1 | |
| CVE-2026-59937GHSA-55h5-xmcq-c37v, PYSEC-2026-3610 | pypdf: Possible long runtimes for repeated malformed cross-reference entriesModerate severity | Before 6.14.0 | 6.14.0 | |
| CVE-2026-59938GHSA-5qjq-93h5-hrgp, PYSEC-2026-3611 | pypdf: Possible large memory usage for wrong image dimensionsModerate severity | Before 6.14.0 | 6.14.0 | |
| CVE-2026-54651GHSA-g9xf-7f8q-9mcj, PYSEC-2026-3018 | pypdf: Possible infinite loop when processing threads/articles in writerModerate severity | Before 6.13.1 | 6.13.1 | |
| CVE-2026-57204GHSA-jm82-fx9c-mx94 | pypdf: Missing stream length values ignore defined limitsModerate severity | Before 6.13.3 | 6.13.3 | |
| CVE-2026-54531GHSA-m2v9-299j-rv96, PYSEC-2026-3022 | pypdf: Possible infinite loop when processing outlines/bookmarks in writerModerate severity | Before 6.13.0 | 6.13.0 | |
| CVE-2026-54530GHSA-52x6-gq3r-vpf4, PYSEC-2026-3009 | pypdf: Possible infinite loop when retrieving fonts for layout-mode text extractionModerate severity | Before 6.13.0 | 6.13.0 | |
| CVE-2026-49461GHSA-j543-4vmf-qm7v, PYSEC-2026-3020 | pypdf: Possible large memory usage for form XObjects during text extractionModerate severity | Before 6.12.2 | 6.12.2 | |
| CVE-2026-49460GHSA-5hgr-hg42-57jg, PYSEC-2026-3010 | pypdf: Inefficient decoding of FlateDecode PNG predictor streamsModerate severity | Before 6.12.2 | 6.12.2 | |
| CVE-2026-48735GHSA-wjqc-6w8f-h24c, PYSEC-2026-3025 | pypdf: Manipulated XMP metadata streams can exhaust RAMModerate severity | Before 6.12.1 | 6.12.1 | |
| CVE-2026-48156GHSA-248m-82v9-q6g6, PYSEC-2026-3004 | pypdf: Possible long runtimes for zero-only width values in cross-reference streamsuntimes for zero-only width values in cross-reference streamsModerate severity | Before 6.12.0 | 6.12.0 | |
| CVE-2026-48155GHSA-cj93-chg6-vgv8, PYSEC-2026-3016 | pypdf: Possible large memory usage for large offsets for layout mode textModerate severity | Before 6.12.0 | 6.12.0 | |
| CVE-2026-41314GHSA-x284-j5p8-9c5p, PYSEC-2026-3026 | pypdf: Manipulated FlateDecode image dimensions can exhaust RAMModerate severity | Before 6.10.2 | 6.10.2 | |
| CVE-2026-41313GHSA-4pxv-j86v-mhcw, PYSEC-2026-3007 | pypdf: Possible long runtimes for wrong size values in incremental modeModerate severity | Before 6.10.2 | 6.10.2 | |
| CVE-2026-41312GHSA-7gw9-cf7v-778f, PYSEC-2026-3011 | pypdf: Manipulated FlateDecode predictor parameters can exhaust RAMModerate severity | Before 6.10.2 | 6.10.2 | |
| CVE-2026-41168GHSA-jj6c-8h6c-hppx, PYSEC-2026-3021 | pypdf has long runtimes for wrong size values in cross-reference and object streamsModerate severity | Before 6.10.1 | 6.10.1 | |
| CVE-2026-40260GHSA-3crg-w4f6-42mx, PYSEC-2026-3006 | pypdf: Manipulated XMP metadata entity declarations can exhaust RAMModerate severity | Before 6.10.0 | 6.10.0 | |
| CVE-2026-33699GHSA-87mj-5ggw-8qc3, PYSEC-2026-3012 | pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_streamModerate severity | Before 6.9.2 | 6.9.2 | |
| CVE-2026-33123GHSA-qpxp-75px-xjcp, PYSEC-2026-3023 | pypdf has inefficient decoding of array-based streamsModerate severity | Before 6.9.1 | 6.9.1 | |
| CVE-2026-31826GHSA-hqmh-ppp3-xvm7, PYSEC-2026-3019 | pypdf: manipulated stream length values can exhaust RAMModerate severity | Before 6.8.0 | 6.8.0 | |
| CVE-2026-28804GHSA-9m86-7pmv-2852, PYSEC-2026-3014 | pypdf vulnerable to inefficient decoding of ASCIIHexDecode streamsModerate severity | Before 6.7.5 | 6.7.5 | |
| CVE-2026-28351GHSA-f2v5-7jq9-h8cg, PYSEC-2026-3017 | pypdf: Manipulated RunLengthDecode streams can exhaust RAMModerate severity | Before 6.7.4 | 6.7.4 | |
| CVE-2026-27888GHSA-x7hp-r3qg-r3cj, PYSEC-2026-3027 | pypdf: Manipulated FlateDecode XFA streams can exhaust RAMModerate severity | Before 6.7.3 | 6.7.3 | |
| CVE-2026-27628GHSA-2rw7-x74f-jg35, PYSEC-2026-3005 | pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streamsLow severity | Before 6.7.2 | 6.7.2 | |
| CVE-2026-27026GHSA-9mvc-8737-8j8h, PYSEC-2026-3015 | pypdf possibly has long runtimes for malformed FlateDecode streamsModerate severity | Before 6.7.1 | 6.7.1 | |
| CVE-2026-27025GHSA-wgvp-vg3v-2xq3, PYSEC-2026-3024 | pypdf has possible long runtimes/large memory usage for large /ToUnicode streamsModerate severity | Before 6.7.1 | 6.7.1 | |
| CVE-2026-27024GHSA-996q-pr4m-cvgq, PYSEC-2026-3013 | pypdf has a possible infinite loop when processing TreeObjectModerate severity | Before 6.7.1 | 6.7.1 | |
| CVE-2026-24688GHSA-2q4j-m29v-hq73, PYSEC-2026-1827 | pypdf has possible Infinite Loop when processing outlines/bookmarksModerate severity | Before 6.6.2 | 6.6.2 | |
| CVE-2026-22691GHSA-4f6g-68pf-7vhv, PYSEC-2026-1828 | pypdf has possible long runtimes for malformed startxrefLow severity | Before 6.6.0 | 6.6.0 | |
| CVE-2026-22690GHSA-4xc4-762w-m6cg, PYSEC-2026-1829 | pypdf has possible long runtimes for missing /Root object with large /Size valuesLow severity | Before 6.6.0 | 6.6.0 | |
| CVE-2025-66019GHSA-m449-cwjh-6pw7, PYSEC-2026-1832 | pypdf's LZWDecode streams be manipulated to exhaust RAMModerate severity | Before 6.4.0 | 6.4.0 | |
| CVE-2025-62708GHSA-jfx9-29x2-rv3j, PYSEC-2026-1831 | pypdf can exhaust RAM via manipulated LZWDecode streamsModerate severity | Before 6.1.3 | 6.1.3 | |
| CVE-2025-62707GHSA-vr63-x8vc-m265, PYSEC-2026-1833 | pypdf possibly loops infinitely when reading DCT inline images without EOF markerModerate severity | Before 6.1.3 | 6.1.3 | |
| CVE-2025-55197GHSA-7hfw-26vp-jp8m, PYSEC-2026-1830 | PyPDF's Manipulated FlateDecode streams can exhaust RAMModerate severity | Before 6.0.0 | 6.0.0 | |
| CVE-2023-46250GHSA-wjcc-cq79-p63f, PYSEC-2026-1834 | Possible Infinite Loop when PdfWriter(clone_from) is used with a PDFModerate severity | From 3.7.0 before 3.17.0 | 3.17.0 | |
| CVE-2023-36464GHSA-4vvm-4w3v-6mr8, PYSEC-2026-1835, PYSEC-2026-3008 | pypdf and PyPDF2 possible Infinite Loop when a comment isn't followed by a characterModerate severity | From 3.1.0 before 3.9.0 | 3.9.0 |