Skip to content

fix(deps): update dependency pillow to v12 [security]#327

Open
dreadnode-renovate-bot[bot] wants to merge 1 commit intomainfrom
renovate/pypi-pillow-vulnerability
Open

fix(deps): update dependency pillow to v12 [security]#327
dreadnode-renovate-bot[bot] wants to merge 1 commit intomainfrom
renovate/pypi-pillow-vulnerability

Conversation

@dreadnode-renovate-bot
Copy link
Copy Markdown
Contributor

@dreadnode-renovate-bot dreadnode-renovate-bot bot commented Feb 18, 2026

This PR contains the following updates:

Package Change Age Confidence
pillow (changelog) >=11.2.1,<12.0.0>=12.2.0,<12.3.0 age confidence

GitHub 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 a formats parameter 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

Severity
  • CVSS Score: 8.9 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

CVE-2026-40192

Impact

Pillow did not limit the amount of GZIP-compressed data read when decoding a FITS image, making it vulnerable to decompression bomb attacks. A specially crafted FITS file could cause unbounded memory consumption, leading to denial of service (OOM crash or severe performance degradation).

Patches

The amount of data read is now limited to the necessary amount.
Fixed in Pillow 12.2.0 (PR #​9521).

Workarounds

Avoid Pillow >= 10.3.0, < 12.2.0
Only open specific image formats, excluding FITS.

Severity
  • CVSS Score: 8.7 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Release Notes

python-pillow/Pillow (pillow)

v12.2.0

Compare Source

https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html

Documentation

Dependencies

Testing

Other changes

v12.1.1

Compare Source

https://pillow.readthedocs.io/en/stable/releasenotes/12.1.1.html

Dependencies

Other changes

v12.1.0

Compare Source

https://pillow.readthedocs.io/en/stable/releasenotes/12.1.0.html

Deprecations

Documentation

Dependencies

Testing

Type hints

Other changes

v12.0.0

Compare Source

https://pillow.readthedocs.io/en/stable/releasenotes/12.0.0.html

Removals

Deprecations

Documentation

Dependencies

Testing

Type hints

Other changes


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@dreadnode-renovate-bot
Copy link
Copy Markdown
Contributor Author

dreadnode-renovate-bot bot commented Feb 18, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: uv.lock
Command failed: uv lock --upgrade-package pillow
Using CPython 3.13.13 interpreter at: /opt/containerbase/tools/python/3.13.13/bin/python3
  × No solution found when resolving dependencies for split (markers:
  │ python_full_version >= '3.12' and python_full_version < '3.14'):
  ╰─▶ Because only the following versions of moviepy are available:
          moviepy<=2.1.2
          moviepy==2.2.0
          moviepy==2.2.1
      and moviepy==2.1.2 depends on pillow>=9.2.0,<11.0, we can conclude that
      moviepy>=2.1.2,<2.2.0 depends on pillow>=9.2.0,<11.0.
      And because moviepy>=2.2.0 depends on pillow>=9.2.0,<12.0 and
      dreadnode[all] depends on moviepy>=2.1.2, we can conclude that
      dreadnode[all] depends on pillow>=9.2.0,<12.0.
      And because dreadnode[all] depends on pillow>=12.2.0,<12.3.0 and your
      project requires dreadnode[all], we can conclude that your project's
      requirements are unsatisfiable.

@dreadnode-renovate-bot dreadnode-renovate-bot bot added area/python Changes to Python package configuration and dependencies type/digest Dependency digest updates labels Feb 18, 2026
@dreadnode-renovate-bot dreadnode-renovate-bot bot changed the title fix(deps): update dependency pillow to v12 [security] fix(deps): update dependency pillow to v12 [security] - autoclosed Mar 29, 2026
@dreadnode-renovate-bot dreadnode-renovate-bot bot deleted the renovate/pypi-pillow-vulnerability branch March 29, 2026 00:30
@dreadnode-renovate-bot dreadnode-renovate-bot bot changed the title fix(deps): update dependency pillow to v12 [security] - autoclosed fix(deps): update dependency pillow to v12 [security] Apr 1, 2026
@dreadnode-renovate-bot dreadnode-renovate-bot bot force-pushed the renovate/pypi-pillow-vulnerability branch 2 times, most recently from b435018 to 7ab5774 Compare April 1, 2026 00:32
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| pypi       | pillow  | 11.3.0 | 12.2.0 |
@dreadnode-renovate-bot dreadnode-renovate-bot bot force-pushed the renovate/pypi-pillow-vulnerability branch from 7ab5774 to ef82b12 Compare April 15, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/python Changes to Python package configuration and dependencies type/digest Dependency digest updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants