Pillow is the "friendly" PIL fork by Alex Clark and Contributors. PIL is the
Python Imaging Library by Fredrik Lundh and Contributors.
Provides
Requires
License
HPND
Changelog
* Thu Oct 22 2026 Steve Kowalik <steven.kowalik@suse.com>
- Update to 13.0.0:
* Addresses CVE-2026-112390 (bsc#1286256), CVE-2026-112391 (bsc#1286273),
CVE-2026-112392 (bsc#1286287), CVE-2026-112393 (bsc#1286325),
CVE-2026-112394 (bsc#1286311), CVE-2026-112395 (bsc#1286312),
CVE-2026-112396 (bsc#1286313), CVE-2026-112397 (bsc#1286314),
CVE-2026-112398 (bsc#1286406), CVE-2026-112399 (bsc#1286368),
CVE-2026-112400 (bsc#1286370), CVE-2026-112401 (bsc#1286372),
CVE-2026-112402 (bsc#1286381), CVE-2026-112403 (bsc#1286405),
CVE-2026-112404 (bsc#1286388), CVE-2026-112405 (bsc#1286404),
CVE-2026-112406 (bsc#1286403), CVE-2026-112891 (bsc#1286402),
CVE-2026-112892 (bsc#1286401), CVE-2026-112893 (bsc#1286392),
CVE-2026-112894 (bsc#1286408), CVE-2026-112895 (bsc#1286411),
CVE-2026-112896 (bsc#1286400), CVE-2026-112897 (bsc#1286398),
CVE-2026-112898 (bsc#1286399), CVE-2026-112899 (bsc#1286489),
CVE-2026-112900 (bsc#1286397), CVE-2026-112901 (bsc#1286396),
CVE-2026-112902 (bsc#1286804), CVE-2026-114501 (bsc#1286803),
CVE-2026-96636 (bsc#1286802), CVE-2026-96637 (bsc#1286801),
CVE-2026-96638 (bsc#1286800), CVE-2026-96639 (bsc#1286799),
CVE-2026-96640 (bsc#1286798), CVE-2026-96641 (bsc#1286797),
CVE-2026-96642 (bsc#1286796), CVE-2026-96643 (bsc#1286795),
CVE-2026-96778 (bsc#1286793), CVE-2026-128066 (bsc#1290395),
CVE-2026-128067 (bsc#1290432)
* Remove undocumented GifImagePlugin._save_netpbm
* Remove ExifTags.IFD.Makernote
* Drop support for Python 3.10
* Validate TIFF tag values against libtiff's own field definition before
TIFFSetField
* Take libtiff scanline geometry tags from the image, not tiffinfo/exif
* Bound retained TIFF tag data by stream size
* Fix heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO
* Use bit plane row size for P;2L and P;4L rawmodes
* Allow floating point constants in ImageMath operations
* Add support for ImageOps invert, posterize and solarize of P images
* Respect explicit BASIC layout in font_variant()
* Improve support for TGA images in P mode with an RGBA palette
* Use reducing_gap when resizing RGBA and LA images
* Use pen widths when drawing ImageDraw2 shape outlines
* Reject TIFFs whose unpacker row is wider than libtiff's decoded row
* Write all channels when saving a one pixel wide RGB image as PCX
* Allow ImageOps to create zero dimension images
* Do not write IFD1 as a tag when converting EXIF to bytes
* Check WebP canvas size before creating decoder
* Apply "bits" to saving L mode PNG images
* Clear TIFF strip and tile buffer beyond previously decoded data
* Read from tall PSD tiles safely
* Only load new palette in putpalette() if it contains raw data
* Only combine PNG frames if the combined duration is still writable
* Support greyscale TIFFs with ExtraSamples 0 or 1
* Avoid repeated concatenation of GIF comments
* Require TIFF ColorMap length according to BitsPerSample
* Assign next PDF object ID in constant time
* Reject JPEG streams whose scanlines are wider or have more components
* Raise an error when calling quantize() with an empty palette
* Set PdfParser default max_nesting limit to 900
* Prevent infinite loop when rewriting PDF pages
* Check COM marker length when encoding JPEG
* Delay creating APNG disposal frame until necessary
* Fix combining GIF frames when an earlier duration is missing
* Limit WMF dimensions when loading to 0-65535
* Read XBM header line by line, instead of through regex
* Fix PSD layer tiles reading from the wrong file offset
* Avoid unused object ids when saving PDF
* Raise an error if PDF page loop exists
* Fixed passing zero dimension images into fromarrow()
* Do not treat RGB as a rawmode for an RGB palette
* Use while loop in read_prev_trailer() to avoid RecursionError
* Allow zero-length members in tar files
* Correctly manage glyph when rendering font
* Return early when applying ImageMorph MorphOp to an empty image
* Do not decode more MSP or BMP data than necessary
* Raise error when creating ImagePalette with unsupported mode
* Apply hoist optimizations to Geometry.c's transforms
* Allow for IFDRational with negative numerator and zero denominator
* Add escape argument to PSDraw text method
* Use lazy imports on Python 3.15 to improve startup speed
* Add GPSHPositioningError to GPS IFD tag data
* Do not open YCbCr colorspace images as RGB without libtiff
* Fix loading XPM images with transparency
* Open BMP image with black palette in mode 1
* Remove palette if no longer relevant after TIFF seek
* Add mixed-line-ending to prek and convert to LF
* Fix adding a new color when image palette has missing background or
transparency index
* Correct background color when using P mode images with ImageOps.pad()
* Fix 16-bit ImageFilter accuracy
* Fix RLE4 absolute mode decoding for odd pixel counts
* Thu Jul 09 2026 Nico Krapp <nico.krapp@suse.com>
- Update to 12.3.0 (fixes CVE-2026-42311 (bsc#1270404),
CVE-2026-54058 (bsc#1271419), CVE-2026-54059 (bsc#1270409),
CVE-2026-54060 (bsc#1270410), CVE-2026-55379 (bsc#1270411),
CVE-2026-55380 (bsc#1270412), CVE-2026-59197 (bsc#1271418),
CVE-2026-59198 (bsc#1271420), CVE-2026-59199 (bsc#1271421),
CVE-2026-59200 (bsc#1271422), CVE-2026-59203 (bsc#1271423),
CVE-2026-59204 (bsc#1271424), CVE-2026-59205 (bsc#1271425))
* Remove non-image ImageCms modes
* Speed up ImageChops operations
* Speed up Image.filter()
* Speed up Image.getchannel(), Image.merge(), Image.putalpha() and
Image.split()
* Speed up Image.fill(), Image.linear_gradient() and Image.radial_gradient().
* Speed up Image.resample()
* Speed up alpha_composite, matrix, negative, quantize
* Remove PyErr_Clear() of "weird" exceptions
* Check realloc return value
* Add max_length to PdfStream decode()
* Return early when there is no fill region
* Allow error to be raised if PyDict_SetItemString fails
* Speed up Image.blend()
* Raise OverflowError if number of vertices is too large for Path
* Remove unused HSV and LAB matrix conversion from C
* Prevent reusing ImagingDecoderObject.setimage
* Raise ValueError if FPX tile size is not 64px by 64px
* Only clear error if it is BufferError
* Apply XOR mask to 1 and L mode CUR images
* Do not raise error from unknown channel ID when parsing PSD layers
* Raise ValueError if P;2L or P;4L data is truncated in frombytes()
* Embed SBOM into wheels
* Do not set eval() globals in ImageMath.unsafe_eval()
* Add Tcl/Tk license to wheels
* Ensure map stride is at least one full row of pixels
* Raise OverflowError if text width exceeds INT_MAX
* Raise error if image modes do not match ImageCms transform modes
* Use int64_t for text height
* Return if error occurs in Py_mod_exec slot
* Add decompression bomb checks to FontFile classes
* If C error is raised, return NULL
* Prevent saving 1 mode images as TGA with run-length encoding
* Raise ValueError if EPS BeginBinary bytecount is negative
* Do not DECREF tuple until tuple items are no longer used
* Do not update NumPy automatically
* Simplified code
* If realloc fails, do not reduce block size
* DECREF PyDict_GetItemRef result
* Use int64_t to calculate paste box dimensions
* Calculate JPEG2000 total_component_width for each tile in isolation
* Raise ValueError if value is not bytes for TIFF_BYTE or TIFF_ASCII tag
* Release Py_Buffer on error
* Use os.startfile() in WindowsViewer show_file()
* Validate large filter sizes when initializing RankFilter
* Add decompression bomb check to GdImageFile
* Free image bands when an error occurs while splitting an image
* Check PyList_Append return value
* Check WebPMuxNew return value
* Check PyCapsule_New return value
* Do not return negative width for text length
* Add args argument to METH_NOARGS methods
* Check ImagingNewDirty return value
* Use int64_t for text width
* Move PyDateTime_IMPORT inside Py_mod_exec slot
* Validate size and rank when initializing RankFilter
* Raise ValueError if insufficient data is read from DDS RGB file
* Correct IFDRational.__float__() return value
* Correct length when accessing ImagePath.Path subscript
* Release reference on non-flattened sequence error
* Do not release Py_buffer until buf is no longer in use
* Do not resize macOS retina screenshots by default
* Add abstract BaseImageFont class
* Cast before multiplying
* Limit radius to half width or height of rounded rectangle
* linesize is always xsize multiplied by pixelsize
* Check annotate_hash_table return value
* Catch KeyError when checking mode from PNG IHDR chunk
* Only pass one argument to C expand
* Raise error if declared JPEG2000 marker length is too small
* In _dump(), use Python PPM save, instead of C
* Raise error consistently from inside ImagingNewArrow
* Simplify RankFilter.c check
* Support opening and saving L mode AVIF images with libavif >= 1.3.0
* [pre-commit.ci] pre-commit autoupdate
* Apply libtiff patch to fix CVE-2026-4775
* Remove duplicate code
* Switch iOS back to macos-26-intel
* Don't use list as default in PdfParser read_prev_trailer
* Add support for Python 3.15
* Do not draw line or arc if width is zero
* Use _accept check in WebP _open
* Compare dist sizes vs latest PyPI release
* Do not generate SBOM in scheduled run on fork
* Use plugin method directly when saving PDFs
* [pre-commit.ci] pre-commit autoupdate
* Set Renovate prCreation to not-pending
* Raise error if PNG transparency has incorrect type or length when saving
* If PdfParser buffer is memoryview, release it when closing
* Correct integer overflow in 16-bit resampling
* SBOM: Use real versions from dependencies.json
* Restrict SBOM upload to only Pillow JSON
* Generate CycloneDX SBOM at release time via CI
* Raise ValueError if ImageOps border has unsupported format
* Unsafe pointer dereference from unchecked Python integer in Tk
initialization
* Reorder renovate.json
* Add python-pillow GitHub Sponsors to FUNDING.yml
* Correct environment URL
* Remove or protect secrets in Actions
* Move Homebrew dependencies into Brewfile
* Do not precompute horizontal coefficients if not horizontal resizing
* Fix comparison warnings
* Close PdfParser if error occurs during init
* Drop experimental Python 3.13 free-threaded wheels
* Update github-actions
* full changelog:
https://pillow.readthedocs.io/en/stable/releasenotes/12.3.0.html
* Fri Apr 03 2026 Dirk Müller <dmueller@suse.com>
- update to 12.2.0 (fixes CVE-2026-40192, bsc#1262184, CVE-2026-42309, bsc#1265153, CVE-2026-42310, bsc#1265154):
* Prevent FITS decompression bomb
* Fix OOB write with invalid tile extents
* Prevent PDF parsing trailer infinite loop
* Integer overflow when processing fonts
* Mon Mar 09 2026 munix9@googlemail.com
- Reactivate tests 'test_stroke' and 'test_stroke_multiline'
- Skip failed tests with libavif 1.4.0 in Factory/TW:
'TestFileAvif and (test_write_rgb or test_encoder_advanced_codec_options)'
* Thu Feb 12 2026 Nico Krapp <nico.krapp@suse.com>
- Update to 12.1.1 (fixes CVE-2026-25990, bsc#1258125)
* Patch libavif for svt-av1 4.0 compatibility #9413 [@hugovk]
* Fix OOB Write with invalid tile extents #9427 [@radarhere]
* Tue Jan 20 2026 Daniel Garcia <daniel.garcia@suse.com>
- Update to 12.1.0
* Deprecations
* Deprecate getdata(), in favour of new get_flattened_data() #9292 [@radarhere]
* Documentation
* Specify APNG duration type when opening #9368 [@radarhere]
* Added release notes for #9350 #9366 [@radarhere]
* Update ImageMorph documentation #9349 [@radarhere]
* Docs: update major bump cadence #9334 [@hugovk]
* Add release notes for #9070 #9320 [@radarhere]
* Updated Ubuntu version #9306 [@radarhere]
* Update macOS tested Pillow versions #9265 [@radarhere]
* Dependencies
* Update harfbuzz to 12.3.0 #9355 [@radarhere]
* Update xz to 5.8.2 #9343 [@radarhere]
* Updated libjpeg-turbo to 3.1.3 #9333 [@radarhere]
* Updated zlib-ng to 2.3.2 #9324 [@radarhere]
* Updated libpng to 1.6.53 #9325 [@radarhere]
* Update actions/checkout action to v6 #9323 [@renovate[bot]]
* Update dependency mypy to v1.19.0 #9322 [@renovate[bot]]
* Updated libpng to 1.6.51 #9305 [@radarhere]
* Updated brotli to 1.2.0 #9284 [@radarhere]
* Update libimagequant to 4.4.1 #9301 [@radarhere]
* Update zlib-ng to 2.3.1, except on manylinux2014 aarch64 #9312 [@radarhere]
* Updated harfbuzz to 12.2.0 #9289 [@radarhere]
* Update github-actions #9277 [@renovate[bot]]
* Testing
* Replace pre-commit with prek #9360 [@hugovk]
* Test PyQt6 on Python 3.14 on Windows #9353 [@radarhere]
* Test 32-bit Windows on Windows Server 2022 #9345 [@radarhere]
* Correct variable type #9335 [@radarhere]
* Fix ResourceWarnings in selftest.py #9332 [@hugovk]
* Fix testing good P mode BMP images #9319 [@radarhere]
* Test Python 3.15 pre-release #9331 [@hugovk]
* Test ImageFont.ImageFont, in case freetype2 is not supported #9287 [@radarhere]
* Add Fedora 43 #9290 [@radarhere]
* Remove Fedora 41 #9260 [@radarhere]
* Type hints
* Add ImageFile context manager #9367 [@radarhere]
* Assert fp is not None #8617 [@radarhere]
* Added return type to ImageFile _close_fp() #9356 [@radarhere]
* Use different variables for Image and ImageFile instances #9316 [@radarhere]
* Correct variable type #9335 [@radarhere]
* Improve type hints #9317 [@radarhere]
* Use different variables for Image and ImageFile ins