File tree 2 files changed +15
-1
lines changed 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Png text chunk size limits
14
14
To prevent potential denial of service attacks using compressed text
15
15
chunks, there are now limits to the decompressed size of text chunks
16
16
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.
18
18
19
19
Individual text chunks are limited to
20
20
:py:attr: `PIL.PngImagePlugin.MAX_TEXT_CHUNK `, set to 1MB by
Original file line number Diff line number Diff line change 1
1
8.3.2
2
2
-----
3
3
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
+
4
16
Other Changes
5
17
=============
6
18
@@ -24,4 +36,6 @@ Fixed regressions
24
36
25
37
* Hide FriBiDi shim symbols to avoid conflict with real FriBiDi library (:pr: `5651 `).
26
38
39
+ .. _OSS-Fuzz : https://github.com/google/oss-fuzz
40
+ .. _CIFuzz : https://google.github.io/oss-fuzz/getting-started/continuous-integration/
27
41
.. _no ABI changes : https://www.python.org/downloads/release/python-3100rc1/
You can’t perform that action at this time.
0 commit comments