next_object_id
src/PIL/PdfParser.py
Last patched
Overview
next_object_id in src/PIL/PdfParser.py (python-pillow/Pillow) was changed by 2 published CVE fixes between 2021 and 2026, in 2 distinct patches that added or removed 10 lines in total.
python-pillow/Pillow has 110 CVEs with a located fix in total, so 2% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed next_object_id, newest first, with the lines each fix touched.
CVE-2026-112894 · lines 632–633 · +2 −5
High · CVSS 8.7EPSS 0.6%2026-10-19CVE-2021-25292 · lines 583–585 · +2 −1
Medium · CVSS 6.9EPSS 1.7%2021-03-19
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
- 2read_pdf_infosrc/PIL/PdfParser.py2 patches · 1 CVE2026
- 3read_prev_trailersrc/PIL/PdfParser.py2 patches · 1 CVE2026
- 4decodesrc/PIL/PdfParser.py2 patches · 1 CVE2026
- 5rewrite_pagessrc/PIL/PdfParser.py1 patch · 1 CVE2026
- 6get_valuesrc/PIL/PdfParser.py1 patch · 1 CVE2026
- 7__init__src/PIL/PdfParser.py1 patch · 1 CVE2026
- 8read_indirectsrc/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 next_object_id.
- How many CVEs have patched next_object_id?
- 2 published CVEs changed next_object_id in python-pillow/Pillow, in 2 distinct patches totalling 10 changed lines, between 2021 and 2026.
- What is the latest CVE that changed next_object_id?
- CVE-2026-112894 (Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)), published 2026-10-19, changed lines 632 to 633 of src/PIL/PdfParser.py.
- How does next_object_id compare to the rest of python-pillow/Pillow?
- python-pillow/Pillow has 110 CVEs with a located fix in total; 2 of them changed next_object_id.
- 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.