File tree Expand file tree Collapse file tree 1 file changed +11
-27
lines changed Expand file tree Collapse file tree 1 file changed +11
-27
lines changed Original file line number Diff line number Diff line change 44Security
55========
66
7- TODO
8- ^^^^
7+ :cve: ` 2025-48379 `: Write buffer overflow on BCn encoding
8+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
99
10- TODO
10+ There is a heap buffer overflow when writing a sufficiently large (>64k encoded with
11+ default settings) image in the DDS format due to writing into a buffer without checking
12+ for available space.
1113
12- :cve: `YYYY-XXXXX `: TODO
13- ^^^^^^^^^^^^^^^^^^^^^^^
14+ This only affects users who save untrusted data as a compressed DDS image.
1415
15- TODO
16+ * Unclear how large the potential write could be. It is likely limited by process
17+ segfault, so it's not necessarily deterministic. It may be practically unbounded.
18+ * Unclear if there's a restriction on the bytes that could be emitted. It's likely that
19+ the only restriction is that the bytes would be emitted in chunks of 8 or 16.
1620
17- Backwards incompatible changes
18- ==============================
19-
20- TODO
21- ^^^^
21+ This was introduced in Pillow 11.2.0 when the feature was added.
2222
2323Deprecations
2424============
@@ -41,22 +41,6 @@ another mode before saving::
4141 im = Image.new("I", (1, 1))
4242 im.convert("I;16").save("out.png")
4343
44- API changes
45- ===========
46-
47- TODO
48- ^^^^
49-
50- TODO
51-
52- API additions
53- =============
54-
55- TODO
56- ^^^^
57-
58- TODO
59-
6044Other changes
6145=============
6246
You can’t perform that action at this time.
0 commit comments