Skip to content

Bump Pillow to 13.0.0 - #382

Merged
SiteRelEnby merged 1 commit into
mainfrom
chore/pillow-13
Nov 9, 2026
Merged

SiteRelEnby merged 1 commit into
mainfrom
chore/pillow-13

Conversation

@SiteRelEnby

Copy link
Copy Markdown
Contributor

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, save and ImageSequence.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

  • Image processing and import-strip unit suites against Pillow 13.0.0 locally.
  • Prism, PluralPort and archive import runners (inline base64 avatars and banners, bundle assets, encrypted media attachments), external-images-disabled, image-serving config, files, upload limits, bio uploads and file signing suites against a rebuilt test stack running 13.0.0.

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.
@SiteRelEnby
SiteRelEnby enabled auto-merge November 9, 2026 02:53
@SiteRelEnby
SiteRelEnby merged commit dea1f6f into main Nov 9, 2026
24 checks passed
@SiteRelEnby
SiteRelEnby deleted the chore/pillow-13 branch November 9, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant