Skip to content

fix(psd): guard row interleave bounds on corrupt data - #5307

Merged
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-psd-interleave
Jul 11, 2026
Merged

fix(psd): guard row interleave bounds on corrupt data#5307
lgritz merged 1 commit into
AcademySoftwareFoundation:mainfrom
lgritz:lg-psd-interleave

Conversation

@lgritz

@lgritz lgritz commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Validate channel-row byte availability before interleaving scanlines in PSD reads, and fail gracefully with an error instead of risking out-of-bounds access on malformed files.

Assisted-by: GitHub Copilot / GPT-5.3-Codex

Validate channel-row byte availability before interleaving scanlines
in PSD reads, and fail gracefully with an error instead of risking
out-of-bounds access on malformed files.

Assisted-by: GitHub Copilot / GPT-5.3-Codex

Signed-off-by: Larry Gritz <lg@larrygritz.com>

@grdanny grdanny left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

makes sense to me!

@lgritz
lgritz merged commit 4995b25 into AcademySoftwareFoundation:main Jul 11, 2026
30 checks passed
@lgritz
lgritz deleted the lg-psd-interleave branch July 11, 2026 00:22
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Jul 15, 2026
…eFoundation#5307)

Validate channel-row byte availability before interleaving scanlines in
PSD reads, and fail gracefully with an error instead of risking
out-of-bounds access on malformed files.

Assisted-by: GitHub Copilot / GPT-5.3-Codex

Signed-off-by: Larry Gritz <lg@larrygritz.com>
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Jul 15, 2026
…eFoundation#5307)

Validate channel-row byte availability before interleaving scanlines in
PSD reads, and fail gracefully with an error instead of risking
out-of-bounds access on malformed files.

Assisted-by: GitHub Copilot / GPT-5.3-Codex

Signed-off-by: Larry Gritz <lg@larrygritz.com>
lgritz added a commit that referenced this pull request Jul 16, 2026
Validate channel-row byte availability before interleaving scanlines in
PSD reads, and fail gracefully with an error instead of risking
out-of-bounds access on malformed files.

Assisted-by: GitHub Copilot / GPT-5.3-Codex

Signed-off-by: Larry Gritz <lg@larrygritz.com>
@lgritz

lgritz commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator Author

CVE-2026-63420

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.

2 participants