Skip to content

Commit 8450366

Browse files
committed
Update release notes
1 parent a0afe89 commit 8450366

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

docs/releasenotes/2.7.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Png text chunk size limits
1414
To prevent potential denial of service attacks using compressed text
1515
chunks, there are now limits to the decompressed size of text chunks
1616
decoded from PNG images. If the limits are exceeded when opening a PNG
17-
image a ``ValueError`` will be raised.
17+
image a :py:exc:`ValueError` will be raised.
1818

1919
Individual text chunks are limited to
2020
:py:attr:`PIL.PngImagePlugin.MAX_TEXT_CHUNK`, set to 1MB by

docs/releasenotes/8.3.2.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
8.3.2
22
-----
33

4+
Security
5+
========
6+
7+
* :cve:`CVE-2021-23437`: Avoid a potential ReDoS (regular expression denial of service)
8+
in :py:class:`~PIL.ImageColor`'s :py:meth:`~PIL.ImageColor.getrgb` by raising
9+
:py:exc:`ValueError` if the color specifier is too long. Present since Pillow 5.2.0.
10+
11+
* Fix 6-byte out-of-bounds (OOB) read. The previous bounds check in ``FliDecode.c``
12+
incorrectly calculated the required read buffer size when copying a chunk, potentially
13+
reading six extra bytes off the end of the allocated buffer from the heap. Present
14+
since Pillow 7.1.0. This bug was found by Google's `OSS-Fuzz`_ `CIFuzz`_ runs.
15+
416
Other Changes
517
=============
618

@@ -24,4 +36,6 @@ Fixed regressions
2436

2537
* Hide FriBiDi shim symbols to avoid conflict with real FriBiDi library (:pr:`5651`).
2638

39+
.. _OSS-Fuzz: https://github.com/google/oss-fuzz
40+
.. _CIFuzz: https://google.github.io/oss-fuzz/getting-started/continuous-integration/
2741
.. _no ABI changes: https://www.python.org/downloads/release/python-3100rc1/

0 commit comments

Comments
 (0)