Update golang.org/x/image to address TIFF resource exhaustion vulnerability
The develop branch currently requires golang.org/x/image v0.24.0, which is affected by a published high-severity TIFF decoder vulnerability:
- GHSA-q675-qj96-32m9 / CVE-2026-46599
- Go vulnerability GO-2026-5032
- Affected versions:
< v0.41.0 - Fixed version:
v0.41.0
The advisory describes excessive resource consumption when decoding malicious PackBits-compressed TIFF data.
Dependabot already proposed the required update in #6399, but that PR was closed because golang.org/x/image v0.41.0 requires Go 1.25, which Fyne does not require yet. The earlier v0.38.0 update in #6238 was closed for the same minimum-Go-version reason and would not fix this newer advisory anyway.
This issue tracks choosing and completing a remediation, such as updating Fyne's supported Go version so x/image can be upgraded, or applying another compatible mitigation until that is possible.
Source: fyne-io/fyne