blob: 64ddfd35653c0e593038b95c451c520f0ff465cd [file]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2026-33812"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Excessive memory allocation when decoding malicious SFNT in golang.org/x/image",
"descriptions": [
{
"lang": "en",
"value": "Parsing a malicious font file can cause excessive memory allocation."
}
],
"affected": [
{
"vendor": "golang.org/x/image",
"product": "golang.org/x/image/font/sfnt",
"collectionURL": "https://pkg.go.dev",
"packageName": "golang.org/x/image/font/sfnt",
"versions": [
{
"version": "0",
"lessThan": "0.39.0",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "source.view"
},
{
"name": "Collection.Font"
},
{
"name": "Font.GlyphAdvance"
},
{
"name": "Font.GlyphBounds"
},
{
"name": "Font.GlyphIndex"
},
{
"name": "Font.GlyphName"
},
{
"name": "Font.Kern"
},
{
"name": "Font.LoadGlyph"
},
{
"name": "Font.Name"
},
{
"name": "Font.WriteSourceTo"
},
{
"name": "Parse"
},
{
"name": "ParseCollection"
},
{
"name": "ParseCollectionReaderAt"
},
{
"name": "ParseReaderAt"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-789: Memory Allocation with Excessive Size Value"
}
]
}
],
"references": [
{
"url": "https://go.dev/cl/761180"
},
{
"url": "https://go.dev/issue/78382"
},
{
"url": "https://pkg.go.dev/vuln/GO-2026-4962"
}
],
"credits": [
{
"lang": "en",
"value": "Andy Gill, ZephrSec Ltd"
}
]
}
}
}