Skip to content

CI hardening + Pillow 12.3.0 security bump - #3

Merged
loydb merged 1 commit into
mainfrom
security-ci-followup
Jul 31, 2026
Merged

CI hardening + Pillow 12.3.0 security bump#3
loydb merged 1 commit into
mainfrom
security-ci-followup

Conversation

@loydb

@loydb loydb commented Jul 31, 2026

Copy link
Copy Markdown
Owner

CI hardening + Pillow 12.3.0 security bump

Second-phase security work (the first PR carried the code fixes).

Pillow 11.3.0 → 12.3.0

Dependabot flagged ~15 open advisories against Pillow < 12.3.0 — heap out-of-bounds writes and decompression-bomb DoS bypasses, relevant since the viewer decodes untrusted image data. numpy stays pinned at 2.2.6. The CI matrix (3.10/3.12/3.13) already satisfies Pillow 12's Python floor, so no matrix change was needed.

Workflow hardening

  • tests.yml: permissions: contents: read; actions pinned to commit SHAs.
  • release.yml: actions pinned to SHAs (already correctly scoped contents: write).

Verified locally: full suite 202/202 under Pillow 12.3.0. This supersedes Dependabot #2, which will auto-close on merge.

- tests.yml: add permissions: contents: read, pin actions to SHAs
- release.yml: pin actions to SHAs (already scoped contents: write)
- requirements.txt: Pillow 11.3.0 -> 12.3.0, patching a batch of
  high-severity advisories (heap OOB writes, decompression-bomb DoS)
  affecting all Pillow < 12.3.0; numpy stays pinned at 2.2.6

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@loydb
loydb merged commit 31819b0 into main Jul 31, 2026
6 checks passed
@loydb
loydb deleted the security-ci-followup branch July 31, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant