{"schema_version":"1.3.1","id":"GO-2026-4962","modified":"2026-04-21T18:59:51Z","published":"2026-04-21T18:59:51Z","aliases":["CVE-2026-33812"],"summary":"Excessive memory allocation when decoding malicious SFNT in golang.org/x/image","details":"Parsing a malicious font file can cause excessive memory allocation.","affected":[{"package":{"name":"golang.org/x/image","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.39.0"}]}],"ecosystem_specific":{"imports":[{"path":"golang.org/x/image/font/sfnt","symbols":["Collection.Font","Font.GlyphAdvance","Font.GlyphBounds","Font.GlyphIndex","Font.GlyphName","Font.Kern","Font.LoadGlyph","Font.Name","Font.WriteSourceTo","Parse","ParseCollection","ParseCollectionReaderAt","ParseReaderAt","source.view"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/761180"},{"type":"REPORT","url":"https://go.dev/issue/78382"}],"credits":[{"name":"Andy Gill, ZephrSec Ltd"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-4962","review_status":"REVIEWED"}}