Skip to content

Commit

Permalink
Added release notes for 9.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere authored and hugovk committed May 17, 2022
1 parent f0353c5 commit 43e2ee0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
13 changes: 9 additions & 4 deletions CHANGES.rst
Expand Up @@ -15,10 +15,6 @@ Changelog (Pillow)
[radarhere]

- Adjust BITSPERSAMPLE to match SAMPLESPERPIXEL when opening TIFFs #6270
[radarhere]

- Do not open images with zero or negative height #6269
[radarhere]

- Search pkgconf system libs/cflags #6138
[jameshilliard, radarhere]
Expand Down Expand Up @@ -50,6 +46,15 @@ Changelog (Pillow)
- Deprecated PhotoImage.paste() box parameter #6178
[radarhere]

9.1.1 (2022-05-17)
------------------

- When reading past the end of a TGA scan line, reduce bytes left. CVE-2022-30595
[radarhere]

- Do not open images with zero or negative height #6269
[radarhere]

9.1.0 (2022-04-01)
------------------

Expand Down
16 changes: 16 additions & 0 deletions docs/releasenotes/9.1.1.rst
@@ -0,0 +1,16 @@
9.1.1
-----

Security
========

This release addresses several security problems.

:cve:`CVE-2022-30595`: When reading a TGA file with RLE packets that cross scan lines,
Pillow reads the information past the end of the first line without deducting that
from the length of the remaining file data. This vulnerability was introduced in Pillow
9.1.0, and can cause a heap buffer overflow.

Opening an image with a zero or negative height has been found to bypass a
decompression bomb check. This will now raise a :py:exc:`SyntaxError` instead, in turn
raising a ``PIL.UnidentifiedImageError``.
1 change: 1 addition & 0 deletions docs/releasenotes/index.rst
Expand Up @@ -15,6 +15,7 @@ expected to be backported to earlier versions.
:maxdepth: 2

9.2.0
9.1.1
9.1.0
9.0.1
9.0.0
Expand Down

0 comments on commit 43e2ee0

Please sign in to comment.