Repository navigation
Bump Pillow to 13.0.0 - #382
Merged
Merged
Conversation
13.0.0 fixes around fifty image-parsing vulnerabilities present in every earlier release, two of them critical (a JPEG decoder buffer overflow and stale native image storage reused after a mode change), plus heap overflows and out-of-bounds reads in the TIFF, WMF/EMF and bundled OpenJPEG decoders and a run of decompression-bomb check bypasses. Sheaf decodes user-uploaded and imported images, so all of it is reachable. None of the 13.0 breaking changes apply: the image pipeline converts to RGB or RGBA before saving, uses only open, resize, new, save and the frame iterator, and the project already requires Python 3.12.
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.
Pillow 12.3.0 to 13.0.0. The release fixes around fifty image-parsing vulnerabilities present in all earlier versions, two rated critical (JPEG decoder buffer overflow; stale native image storage reused after a mode transition), with heap overflows and out-of-bounds reads across the TIFF, WMF/EMF and bundled OpenJPEG decoders and a run of decompression-bomb check bypasses. Sheaf decodes user-uploaded and imported images (avatars, banners, bio images, import bundles), so these are reachable from unauthenticated-at-decode-time input.
None of the 13.0 breaking changes apply here. The image pipeline converts every image to RGB or RGBA before saving (the I-mode PNG change does not reach it), it uses only
Image.open,resize,new,saveandImageSequence.Iterator, and the project already requires Python 3.12. Only Pillow moved in the lockfile; the lock header revision is what the last release wrote.Verification