CVE-2026-67446: Go Image Decode Without Dimension Check

The application decodes an image without first validating its dimensions using `image.DecodeConfig`. Decoding compressed images with very large declared dimensions into a full raster can lead to excessive memory allocation and denial of service (decompression bomb).

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-67446-go-image-decode-without-dimension-check --engine opengrep

Description

The application decodes an image without first validating its dimensions using `image.DecodeConfig`. Decoding compressed images with very large declared dimensions into a full raster can lead to excessive memory allocation and denial of service (decompression bomb).