Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ Changelog (Pillow)
9.0.0 (unreleased)
------------------

- Restrict builtins for ImageMath.eval(). CVE TBD #5923
[radarhere]

- Ensure JpegImagePlugin stops at the end of a truncated file #5921
[radarhere]

- Fixed ImagePath.Path array handling #5920
- Fixed ImagePath.Path array handling. CVEs TBD #5920
[radarhere]

- Remove consecutive duplicate tiles that only differ by their offset #5919
Expand Down
4 changes: 2 additions & 2 deletions docs/releasenotes/9.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ Restrict builtins available to ImageMath.eval
To limit :py:class:`PIL.ImageMath` to working with images, Pillow will now restrict the
builtins available to :py:meth:`PIL.ImageMath.eval`. This will help prevent problems
arising if users evaluate arbitrary expressions, such as
``ImageMath.eval("exec(exit())")``.
``ImageMath.eval("exec(exit())")``. CVE TBD

Fixed ImagePath.Path array handling
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

CWE-126 and CWE-665 were found when initializing ``ImagePath.Path``.
CWE-126 and CWE-665 were found when initializing ``ImagePath.Path``. CVEs TBD

.. _OSS-Fuzz: https://github.com/google/oss-fuzz

Expand Down