CVE-2026-33812 (GCVE-0-2026-33812)
Vulnerability from cvelistv5 – Published: 2026-04-21 19:21 – Updated: 2026-04-21 20:43
VLAI?
Title
Excessive memory allocation when decoding malicious SFNT in golang.org/x/image
Summary
Parsing a malicious font file can cause excessive memory allocation.
Severity ?
6.1 (Medium)
CWE
- CWE-789 - Memory Allocation with Excessive Size Value
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| golang.org/x/image | golang.org/x/image/font/sfnt |
Affected:
0 , < 0.39.0
(semver)
|
Credits
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2026-33812",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-04-21T20:43:08.370574Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-04-21T20:43:11.915Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"packageName": "golang.org/x/image/font/sfnt",
"product": "golang.org/x/image/font/sfnt",
"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"
}
],
"vendor": "golang.org/x/image",
"versions": [
{
"lessThan": "0.39.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "Andy Gill, ZephrSec Ltd"
}
],
"descriptions": [
{
"lang": "en",
"value": "Parsing a malicious font file can cause excessive memory allocation."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "CWE-789: Memory Allocation with Excessive Size Value",
"lang": "en"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-04-21T19:21:28.556Z",
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"shortName": "Go"
},
"references": [
{
"url": "https://go.dev/cl/761180"
},
{
"url": "https://go.dev/issue/78382"
},
{
"url": "https://pkg.go.dev/vuln/GO-2026-4962"
}
],
"title": "Excessive memory allocation when decoding malicious SFNT in golang.org/x/image"
}
},
"cveMetadata": {
"assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"assignerShortName": "Go",
"cveId": "CVE-2026-33812",
"datePublished": "2026-04-21T19:21:28.556Z",
"dateReserved": "2026-03-23T20:35:32.814Z",
"dateUpdated": "2026-04-21T20:43:11.915Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-33812",
"date": "2026-04-24",
"epss": "0.00012",
"percentile": "0.01686"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-33812\",\"sourceIdentifier\":\"security@golang.org\",\"published\":\"2026-04-21T20:16:56.290\",\"lastModified\":\"2026-04-22T21:24:26.997\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Parsing a malicious font file can cause excessive memory allocation.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H\",\"baseScore\":6.1,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":4.2}]},\"references\":[{\"url\":\"https://go.dev/cl/761180\",\"source\":\"security@golang.org\"},{\"url\":\"https://go.dev/issue/78382\",\"source\":\"security@golang.org\"},{\"url\":\"https://pkg.go.dev/vuln/GO-2026-4962\",\"source\":\"security@golang.org\"}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 6.1, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"LOW\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-33812\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-04-21T20:43:08.370574Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-04-21T20:43:03.869Z\"}}], \"cna\": {\"title\": \"Excessive memory allocation when decoding malicious SFNT in golang.org/x/image\", \"credits\": [{\"lang\": \"en\", \"value\": \"Andy Gill, ZephrSec Ltd\"}], \"affected\": [{\"vendor\": \"golang.org/x/image\", \"product\": \"golang.org/x/image/font/sfnt\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"0.39.0\", \"versionType\": \"semver\"}], \"packageName\": \"golang.org/x/image/font/sfnt\", \"collectionURL\": \"https://pkg.go.dev\", \"defaultStatus\": \"unaffected\", \"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\"}]}], \"references\": [{\"url\": \"https://go.dev/cl/761180\"}, {\"url\": \"https://go.dev/issue/78382\"}, {\"url\": \"https://pkg.go.dev/vuln/GO-2026-4962\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Parsing a malicious font file can cause excessive memory allocation.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"description\": \"CWE-789: Memory Allocation with Excessive Size Value\"}]}], \"providerMetadata\": {\"orgId\": \"1bb62c36-49e3-4200-9d77-64a1400537cc\", \"shortName\": \"Go\", \"dateUpdated\": \"2026-04-21T19:21:28.556Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-33812\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-04-21T20:43:11.915Z\", \"dateReserved\": \"2026-03-23T20:35:32.814Z\", \"assignerOrgId\": \"1bb62c36-49e3-4200-9d77-64a1400537cc\", \"datePublished\": \"2026-04-21T19:21:28.556Z\", \"assignerShortName\": \"Go\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…