File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,15 @@ decode the data in its natural CMYK mode, then convert it to RGB and rearrange
49
49
the channels afterwards. Trying to load the data in an incorrect mode could
50
50
result in a segmentation fault. This issue was introduced in Pillow 9.1.0.
51
51
52
+ Limit SAMPLESPERPIXEL to avoid runtime DOS
53
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54
+
55
+ A large value in the ``SAMPLESPERPIXEL `` tag could lead to a memory and runtime DOS in
56
+ ``TiffImagePlugin.py `` when setting up the context for image decoding.
57
+ This was introduced in Pillow 9.2.0, found with `OSS-Fuzz `_ and fixed by limiting
58
+ ``SAMPLESPERPIXEL `` to the number of planes that we can decode.
59
+
60
+
52
61
Other Changes
53
62
=============
54
63
@@ -88,3 +97,5 @@ Show all frames with ImageShow
88
97
89
98
When calling :py:meth: `~PIL.Image.Image.show ` or using
90
99
:py:mod: `~PIL.ImageShow `, all frames will now be shown.
100
+
101
+ .. _OSS-Fuzz : https://github.com/google/oss-fuzz
You can’t perform that action at this time.
0 commit comments