fix(deps): update dependency pillow to v12 [security]#3787
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
fix(deps): update dependency pillow to v12 [security]#3787renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
Contributor
Author
|
1e30bc5 to
1981069
Compare
d2af2cf to
e07a581
Compare
c47c3a9 to
7c0ad00
Compare
b64cb58 to
0a44dc8
Compare
| ] | ||
| dependencies = [ | ||
| "Pillow==10.4.0", | ||
| "Pillow==12.1.1", |
There was a problem hiding this comment.
Bug: The update to Pillow==12.1.1 is incompatible with the pinned pillow-heif==0.22.0 dependency, which will cause runtime errors during HEIF/HEIC image processing.
Severity: CRITICAL
Suggested Fix
Update the pillow-heif dependency to a version compatible with Pillow 12.x. Based on its release history, a version like 1.2.1 or newer is likely required. This will ensure that HEIF/HEIC image processing continues to function correctly after the Pillow upgrade.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: pyproject.toml#L15
Potential issue: The PR updates `Pillow` to version 12.1.1 but leaves the `pillow-heif`
dependency at version 0.22.0. This older version of `pillow-heif` is not compatible with
`Pillow` 12.x. Because the project uses `willow[heif]`, any attempt to process HEIF or
HEIC images, such as uploading them or generating thumbnails via Wagtail, will result in
a runtime failure. The application will not crash on startup, but this core image
processing functionality will be broken for these specific image formats.
0a44dc8 to
e9c16a6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==10.4.0→==12.1.1GitHub Vulnerability Alerts
CVE-2026-25990
Impact
An out-of-bounds write may be triggered when loading a specially crafted PSD image. Pillow >= 10.3.0 users are affected.
Patches
Pillow 12.1.1 will be released shortly with a fix for this.
Workarounds
Image.open()has aformatsparameter that can be used to prevent PSD images from being opened.References
Pillow 12.1.1 will add release notes at https://pillow.readthedocs.io/en/stable/releasenotes/index.html
Release Notes
python-pillow/Pillow (Pillow)
v12.1.1Compare Source
v12.1.0Compare Source
https://pillow.readthedocs.io/en/stable/releasenotes/12.1.0.html
Deprecations
Documentation
Dependencies
Testing
ResourceWarnings inselftest.py#9332 [@hugovk]Type hints
Other changes
v12.0.0Compare Source
https://pillow.readthedocs.io/en/stable/releasenotes/12.0.0.html
Removals
Deprecations
Documentation
Dependencies
Testing
Type hints
Other changes
v11.3.0Compare Source
https://pillow.readthedocs.io/en/stable/releasenotes/11.3.0.html
Deprecations
Documentation
Makefile#8933 [@hugovk]Dependencies
Testing
matchparameter topytest.warns()#9038 [@hugovk]Type hints
Other changes
Configuration
📅 Schedule: Branch creation - "" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.