File tree Expand file tree Collapse file tree 1 file changed +15
-26
lines changed
Expand file tree Collapse file tree 1 file changed +15
-26
lines changed Original file line number Diff line number Diff line change 44Security
55========
66
7- TODO
8- ^^^^
7+ :cve: ` 2023-50447 `: Write Buffer Overflow on BCn encoding
8+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
99
10- TODO
10+ If an attacker has control over the keys passed to the
11+ ``environment `` argument of :py:meth: `!PIL.ImageMath.eval `, they may be able to execute
12+ arbitrary code. To prevent this, keys matching the names of builtins and keys
13+ containing double underscores will now raise a :py:exc: `ValueError `.
1114
12- :cve: `YYYY-XXXXX `: TODO
13- ^^^^^^^^^^^^^^^^^^^^^^^
15+ There is a heap buffer overflow when writing a sufficiently large (>64k encoded with
16+ default settings) image in the DDS format due to writing into a buffer without checking
17+ for available space.
1418
15- TODO
19+ This only affects users who save untrusted data as a compressed DDS image.
1620
17- Backwards incompatible changes
18- ==============================
21+ * Unclear how large the potential write could be. It is likely limited by process
22+ segfault, so it's not necessarily deterministic. It may be practically unbounded.
23+ * Unclear if there's a restriction on the bytes that could be emitted. It's likely that
24+ the only restriction is that the bytes would be emitted in chunks of 8 or 16.
1925
20- TODO
21- ^^^^
26+ This was introduced was introduced in 11.2.0 when the feature was added.
2227
2328Deprecations
2429============
@@ -41,22 +46,6 @@ another mode before saving::
4146 im = Image.new("I", (1, 1))
4247 im.convert("I;16").save("out.png")
4348
44- API changes
45- ===========
46-
47- TODO
48- ^^^^
49-
50- TODO
51-
52- API additions
53- =============
54-
55- TODO
56- ^^^^
57-
58- TODO
59-
6049Other changes
6150=============
6251
You can’t perform that action at this time.
0 commit comments