Skip to content

chore(deps): [ai] Update dependency Pillow to v12 [SECURITY]#529

Open
renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
renovate-bot:renovate/pypi-pillow-vulnerability
Open

chore(deps): [ai] Update dependency Pillow to v12 [SECURITY]#529
renovate-bot wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
renovate-bot:renovate/pypi-pillow-vulnerability

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

@renovate-bot renovate-bot commented May 7, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
Pillow (changelog) >=10.0.0>=12.2.0 age confidence

libwebp: OOB write in BuildHuffmanTable

A-299477569 / ASB-A-299477569 / CVE-2023-4863 / CVE-2023-5129 / GHSA-j7hp-h8jx-5ppr / RUSTSEC-2023-0060 / RUSTSEC-2023-0061

More information

Details

Heap buffer overflow in libwebp allow a remote attacker to perform an out of bounds memory write via a crafted HTML page.

Severity

  • CVSS Score: 8.8 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References

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


PYSEC-2023-175

More information

Details

Pillow versions before v10.0.1 bundled libwebp binaries in wheels that are vulnerable to CVE-2023-5129 (previously CVE-2023-4863). Pillow v10.0.1 upgrades the bundled libwebp binary to v1.3.2.

Severity

Unknown

References

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


Arbitrary Code Execution in Pillow

BIT-pillow-2023-50447 / CVE-2023-50447 / GHSA-3f63-hfp8-52jq

More information

Details

Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter).

Severity

  • CVSS Score: 9.3 / 10 (Critical)
  • 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

References

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


Pillow buffer overflow vulnerability

BIT-pillow-2024-28219 / CVE-2024-28219 / GHSA-44wm-f244-xhp3

More information

Details

In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.

Severity

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

References

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


Pillow has a PDF Parsing Trailer Infinite Loop (DoS)

CVE-2026-42310 / GHSA-r73j-pqj5-w3x7

More information

Details

Impact

An attacker can supply a malicious PDF that causes the process to hang indefinitely, consuming 100% CPU and making the application unresponsive.

Patches

Patched version: 12.2.0.

PdfParser (introduced in Pillow 4.2.0) follows Prev pointers in PDF trailers to read cross-reference sections. If a
trailer's Prev pointer references an offset that has already been processed — either pointing to itself or forming a
longer cycle — the parser enters an infinite loop. Pillow now tracks previously processed trailer offsets and raises an
error if a cycle is detected.

Workarounds

Use any version but the affected versions: >= 4.2.0, < 12.2.0

Resources

Severity

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

References

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


Pillow has an integer overflow when processing fonts

CVE-2026-42308 / ECHO-784c-565e-18bc / GHSA-wjx4-4jcj-g98j

More information

Details

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

Severity

  • CVSS Score: 5.1 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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

v12.1.1

Compare Source

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

Note

PR body was truncated to here.


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 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-bot renovate-bot requested a review from LUJ20 as a code owner May 7, 2026 23:19
@forking-renovate forking-renovate Bot added dependencies Pull requests that update a dependency file p0 SECURITY labels May 7, 2026
@renovate-bot renovate-bot force-pushed the renovate/pypi-pillow-vulnerability branch 3 times, most recently from efdada9 to bca7e0e Compare May 8, 2026 01:20
@renovate-bot renovate-bot changed the title chore(deps): [ai] Update dependency Pillow to >=10.4.0 [SECURITY] chore(deps): [ai] Update dependency Pillow to v12 [SECURITY] May 8, 2026
@renovate-bot renovate-bot changed the title chore(deps): [ai] Update dependency Pillow to v12 [SECURITY] chore(deps): [ai] Update dependency Pillow to >=10.4.0 [SECURITY] May 8, 2026
@renovate-bot renovate-bot force-pushed the renovate/pypi-pillow-vulnerability branch 2 times, most recently from b83876c to 6af17b6 Compare May 8, 2026 12:30
@renovate-bot renovate-bot changed the title chore(deps): [ai] Update dependency Pillow to >=10.4.0 [SECURITY] chore(deps): [ai] Update dependency Pillow to v12 [SECURITY] May 8, 2026
@renovate-bot renovate-bot force-pushed the renovate/pypi-pillow-vulnerability branch from 6af17b6 to 84b56dc Compare May 8, 2026 12:50
@renovate-bot renovate-bot changed the title chore(deps): [ai] Update dependency Pillow to v12 [SECURITY] chore(deps): [ai] Update dependency Pillow to >=10.4.0 [SECURITY] May 8, 2026
@renovate-bot renovate-bot force-pushed the renovate/pypi-pillow-vulnerability branch from 84b56dc to c07007c Compare May 8, 2026 17:08
@renovate-bot renovate-bot changed the title chore(deps): [ai] Update dependency Pillow to >=10.4.0 [SECURITY] chore(deps): [ai] Update dependency Pillow to v12 [SECURITY] May 8, 2026
@renovate-bot renovate-bot force-pushed the renovate/pypi-pillow-vulnerability branch from c07007c to c81709f Compare May 8, 2026 17:11
@renovate-bot renovate-bot changed the title chore(deps): [ai] Update dependency Pillow to v12 [SECURITY] chore(deps): [ai] Update dependency Pillow to >=10.4.0 [SECURITY] May 8, 2026
@renovate-bot renovate-bot force-pushed the renovate/pypi-pillow-vulnerability branch from c81709f to a4b163e Compare May 8, 2026 19:29
@renovate-bot renovate-bot force-pushed the renovate/pypi-pillow-vulnerability branch from a4b163e to 03af264 Compare May 8, 2026 19:33
@renovate-bot renovate-bot changed the title chore(deps): [ai] Update dependency Pillow to >=10.4.0 [SECURITY] chore(deps): [ai] Update dependency Pillow to v12 [SECURITY] May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file p0 SECURITY

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant