Skip to content

Update dependency pillow to v12.2.0 [SECURITY] (8.2-gdal3.8)#1475

Merged
renovate[bot] merged 1 commit into8.2-gdal3.8from
renovate/8.2-gdal3.8-pypi-pillow-vulnerability
Apr 13, 2026
Merged

Update dependency pillow to v12.2.0 [SECURITY] (8.2-gdal3.8)#1475
renovate[bot] merged 1 commit into8.2-gdal3.8from
renovate/8.2-gdal3.8-pypi-pillow-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 13, 2026

This PR contains the following updates:

Package Change Age Confidence
pillow (changelog) 12.1.112.2.0 age confidence

FITS GZIP decompression bomb in Pillow

CVE-2026-40192 / GHSA-whj4-6x5x-4v2j

More information

Details

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

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


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


Configuration

📅 Schedule: (in timezone Europe/Zurich)

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

🚦 Automerge: Enabled.

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.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the security Security fixes label Apr 13, 2026
@renovate renovate bot enabled auto-merge (squash) April 13, 2026 20:40
@renovate renovate bot merged commit a84744a into 8.2-gdal3.8 Apr 13, 2026
8 checks passed
@renovate renovate bot deleted the renovate/8.2-gdal3.8-pypi-pillow-vulnerability branch April 13, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security Security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants