chore(deps): bump pillow to 12.3.0 to fix known CVEs - #11
Open
pauliano22 wants to merge 1 commit into
Open
Conversation
Pillow <12.3.0 has multiple decompression-bomb-check bypass advisories (PYSEC-2026-2253, PYSEC-2026-2255, and others) in PCF/BDF font parsing. Verified via pip-audit; the bump resolves cleanly with no dependency cascade (unlike torch, which would require a triton major-version bump to fix its own CVE — left alone for now, needs GPU verification).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pillowfrom12.2.0to12.3.0inrequirements.txtWhy
pip-auditflagspillow==12.2.0for multiple decompression-bomb-check bypass advisories (e.g. PYSEC-2026-2253, PYSEC-2026-2255) in PCF/BDF font parsing, fixed in 12.3.0.Verification
pip-audit -r requirements.txtthat 12.2.0 is flagged and 12.3.0 is not.pip install --dry-run) confirms the bump resolves cleanly with no cascading version conflicts — pillow is only used here by matplotlib to save benchmark chart PNGs.import PILsanity-checked at 12.3.0 in an isolated venv.Note:
torch==2.11.0also has a known CVE (PYSEC-2025-194), but bumping it to the fixed version (2.13.0) pulls intriton>=3.7, which conflicts with this repo's pinnedtriton==3.6.0and would need real-GPU verification this environment doesn't have. Left alone — flagging for a manual look.Generated by Claude Code