Skip to content

Commit fe054a1

Browse files
authored
Added CVEs to 12.2.0 release notes (#9591)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
1 parent 852a832 commit fe054a1

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/releasenotes/12.2.0.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,28 @@ introduced in Pillow 10.3.0.
1313

1414
The data being read is now limited to only the necessary amount.
1515

16-
Fix OOB write with invalid tile extents
17-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16+
:cve:`2026-42311`: Fix OOB write with invalid tile extents
17+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1818

1919
Pillow 12.1.1 addressed :cve:`2026-25990` by improving checks for tile extents to
2020
prevent an OOB write from specially crafted PSD images in Pillow >= 10.3.0. However,
2121
these checks did not consider integer overflow. This has been corrected.
2222

23-
Prevent PDF parsing trailer infinite loop
24-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23+
:cve:`2026-42310`: Prevent PDF parsing trailer infinite loop
24+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2525

2626
When parsing a PDF, if a trailer refers to itself, or a more complex cyclic loop
2727
exists, then an infinite loop occurs. Pillow now keeps a record of which trailers it
2828
has already processed. PdfParser was added in Pillow 4.2.0.
2929

30-
Integer overflow when processing fonts
31-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30+
:cve:`2026-42308`: Integer overflow when processing fonts
31+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3232

3333
If a font advances for each glyph by an exceeding large amount, when Pillow keeps track
3434
of the current position, it may lead to an integer overflow. This has been fixed.
3535

36-
Heap buffer overflow with nested list coordinates
37-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36+
:cve:`2026-42309`: Heap buffer overflow with nested list coordinates
37+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3838

3939
Passing nested lists as coordinates to APIs that accept coordinates such as
4040
``ImagePath.Path``, :py:meth:`~PIL.ImageDraw.ImageDraw.polygon`

0 commit comments

Comments
 (0)