Skip to content

x/image/tiff: lack of tile size limits #79905

Description

@neild

TIFF images may be tiled. Tiles may be larger than the image size. x/image/tiff currently doesn't validate tile sizes, which can allow a malicious or corrupt input to consume excessive memory or crash, even when the user validates the image size.

We should set some reasonable limit on how much larger than the image the tile size may be.

This is a PUBLIC track vulnerability and CVE-2026-46602.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.Security

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions