Skip to content

Commit 6fcd31b

Browse files
radarherehugovk
authored andcommitted
Added release notes for 9.1.1
1 parent c846cc8 commit 6fcd31b

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

CHANGES.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
Changelog (Pillow)
33
==================
44

5+
9.1.1 (unreleased)
6+
------------------
7+
8+
- When reading past the end of a TGA scan line, reduce bytes left. CVE-2022-30595
9+
[radarhere]
10+
11+
- Do not open images with zero or negative height #6269
12+
[radarhere]
13+
514
9.1.0 (2022-04-01)
615
------------------
716

docs/releasenotes/9.1.1.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
9.1.1
2+
-----
3+
4+
Security
5+
========
6+
7+
This release addresses several security problems.
8+
9+
:cve:`CVE-2022-30595`: When reading a TGA file with RLE packets that cross scan lines,
10+
Pillow reads the information past the end of the first line without deducting that
11+
from the length of the remaining file data. This vulnerability was introduced in Pillow
12+
9.1.0, and can cause a heap buffer overflow.
13+
14+
Opening an image with a zero or negative height has been found to bypass a
15+
decompression bomb check. This will now raise a :py:exc:`SyntaxError` instead, in turn
16+
raising a ``PIL.UnidentifiedImageError``.

docs/releasenotes/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ expected to be backported to earlier versions.
1414
.. toctree::
1515
:maxdepth: 2
1616

17+
9.1.1
1718
9.1.0
1819
9.0.1
1920
9.0.0

0 commit comments

Comments
 (0)