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 4
4
Security
5
5
========
6
6
7
- TODO
8
- ^^^^
7
+ :cve: ` 2025-48379 `: Write buffer overflow on BCn encoding
8
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9
9
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.
11
13
12
- :cve: `YYYY-XXXXX `: TODO
13
- ^^^^^^^^^^^^^^^^^^^^^^^
14
+ This only affects users who save untrusted data as a compressed DDS image.
14
15
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.
16
20
17
- Backwards incompatible changes
18
- ==============================
19
-
20
- TODO
21
- ^^^^
21
+ This was introduced in Pillow 11.2.0 when the feature was added.
22
22
23
23
Deprecations
24
24
============
@@ -41,22 +41,6 @@ another mode before saving::
41
41
im = Image.new("I", (1, 1))
42
42
im.convert("I;16").save("out.png")
43
43
44
- API changes
45
- ===========
46
-
47
- TODO
48
- ^^^^
49
-
50
- TODO
51
-
52
- API additions
53
- =============
54
-
55
- TODO
56
- ^^^^
57
-
58
- TODO
59
-
60
44
Other changes
61
45
=============
62
46
You can’t perform that action at this time.
0 commit comments