Golang TIFF decoder does not place a limit on the size of compressed tile data
Moderate severity
GitHub Reviewed
Published
Aug 2, 2023
to the GitHub Advisory Database
•
Updated May 20, 2024
Description
Published by the National Vulnerability Database
Aug 2, 2023
Published to the GitHub Advisory Database
Aug 2, 2023
Reviewed
Nov 2, 2023
Last updated
May 20, 2024
The TIFF decoder does not place a limit on the size of compressed tile data. A maliciously-crafted image can exploit this to cause a small image (both in terms of pixel width/height, and encoded size) to make the decoder decode large amounts of compressed data, consuming excessive memory and CPU.
References