Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ numpy = [
{ version = ">=1.23.5", python = "<3.12" },
{ version = ">=1.26.0", python = ">=3.12" },
]
pillow = "^11.1.0"
pillow = ">=11.1.0,<13.0.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lower bound still allows CVE-vulnerable Pillow versions

High Severity

The stated goal of this PR is to patch CVE-2026-25990, but the version constraint >=11.1.0,<13.0.0 still allows installing vulnerable Pillow versions (10.3.0 through 12.1.0 are affected, with the fix only in 12.1.1+). While the lockfile pins to 12.1.1, downstream consumers installing this as a library don't use the lockfile and their resolver may pick a vulnerable version. The vulnerability is an out-of-bounds write in Image.open() — the exact API used by this project. The lower bound needs to be >=12.1.1 to actually enforce the fix.

Fix in Cursor Fix in Web

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blainekasten I'm happy to bump the minimum here as well.

black = "^25.9.0"

[tool.poetry.extras]
Expand Down