Description
An attacker can craft a malformed TIFF image which will consume a significant amount of memory when passed to DecodeConfig. This could lead to a denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| golang.org/x/image | golang.org/x/image/tiff | < 0.5.0 | 0.5.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-golang-x-image | 0.5.0-1 | — |
| Debian 13 | golang-golang-x-image | 0.5.0-1 | — |
| Debian 12 | golang-golang-x-image | 0.5.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-golang-x-image | No fix yet | — |
| Ubuntu 20.04 LTS | golang-golang-x-image | No fix yet | — |
| Ubuntu 18.04 LTS | golang-golang-x-image | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | golang.org/x/image | < 0.5.0 | 0.5.0 | GHSA-qgc7-mgm3-q253 |
Advisories 1
- NCSC-2025-0021 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Jan 22, 2025
References
- https://go.dev/issue/58003
- https://go.dev/cl/468195
- https://groups.google.com/g/golang-announce/c/ag-FiyjlD5o
- https://pkg.go.dev/vuln/GO-2023-1572
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XZTEP6JYILRBNDTNWTEQ5D4QUUVQBESK/