A maliciously crafted TIFF file can cause image decoding to attempt to allocate up 4GiB of memory, causing either excessive resource consumption or an out-of-memory error.
PUBLISHED5.2
OOM from malicious IFD offset in golang.org/x/image/tiff
Problem type
- CWE-400: Uncontrolled Resource Consumption
Affected products
golang.org/x/image
golang.org/x/image/tiff
< 0.38.0 - AFFECTED
References
go.dev
https://go.dev/cl/757660
go.dev
https://go.dev/issue/78267
pkg.go.dev
https://pkg.go.dev/vuln/GO-2026-4815
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-33809Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-33809",
"assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"assignerShortName": "Go",
"dateUpdated": "2026-03-25T18:24:04.222Z",
"dateReserved": "2026-03-23T20:35:32.813Z",
"datePublished": "2026-03-25T18:24:04.222Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"shortName": "Go",
"dateUpdated": "2026-03-25T18:24:04.222Z"
},
"title": "OOM from malicious IFD offset in golang.org/x/image/tiff",
"descriptions": [
{
"lang": "en",
"value": "A maliciously crafted TIFF file can cause image decoding to attempt to allocate up 4GiB of memory, causing either excessive resource consumption or an out-of-memory error."
}
],
"affected": [
{
"vendor": "golang.org/x/image",
"product": "golang.org/x/image/tiff",
"collectionURL": "https://pkg.go.dev",
"packageName": "golang.org/x/image/tiff",
"programRoutines": [
{
"name": "buffer.fill"
},
{
"name": "buffer.ReadAt"
},
{
"name": "Decode"
},
{
"name": "DecodeConfig"
},
{
"name": "buffer.Slice"
}
],
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"status": "affected",
"versionType": "semver",
"lessThan": "0.38.0"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-400: Uncontrolled Resource Consumption"
}
]
}
],
"references": [
{
"url": "https://go.dev/cl/757660"
},
{
"url": "https://go.dev/issue/78267"
},
{
"url": "https://pkg.go.dev/vuln/GO-2026-4815"
}
]
}
}
}