decode
src/PIL/PdfParser.py
Last patched
Overview
decode in src/PIL/PdfParser.py (python-pillow/Pillow) was changed by 1 published CVE fix in 2026, in 2 distinct patches that added or removed 13 lines in total.
python-pillow/Pillow has 110 CVEs with a located fix in total, so 1% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed decode, newest first, with the lines each fix touched.
CVE-2026-59200 · lines 325–336 · +7 −6
High · CVSS 7.5EPSS 0.4%2026-07-14
Get an alert when the next CVE fix lands in python-pillow/Pillow, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1linearize_page_treesrc/PIL/PdfParser.py3 patches · 2 CVEs2026
- 2next_object_idsrc/PIL/PdfParser.py2 patches · 2 CVEs2021 to 2026
- 3read_pdf_infosrc/PIL/PdfParser.py2 patches · 1 CVE2026
- 4read_prev_trailersrc/PIL/PdfParser.py2 patches · 1 CVE2026
- 5rewrite_pagessrc/PIL/PdfParser.py1 patch · 1 CVE2026
- 6__init__src/PIL/PdfParser.py1 patch · 1 CVE2026
- 7read_indirectsrc/PIL/PdfParser.py1 patch · 1 CVE2026
- 8get_valuesrc/PIL/PdfParser.py1 patch · 1 CVE2026
Other hotspots in the repository
Functions in python-pillow/Pillow changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to decode.
- How many CVEs have patched decode?
- 1 published CVEs changed decode in python-pillow/Pillow, in 2 distinct patches totalling 13 changed lines, between 2026 and 2026.
- What is the latest CVE that changed decode?
- CVE-2026-59200 (Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()), published 2026-07-14, changed lines 325 to 336 of src/PIL/PdfParser.py.
- How does decode compare to the rest of python-pillow/Pillow?
- python-pillow/Pillow has 110 CVEs with a located fix in total; 1 of them changed decode.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- src/PIL/PdfParser.py on GitHub (opens in a new tab)
- All patched functions in python-pillow/Pillow
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track python-pillow/Pillow CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.