Vulnerability · Published Apr 21, 2026 · Assigned by Go

CVE-2026-33812Excessive memory allocation when decoding malicious SFNT in golang.org/x/image

Medium 6.1

In plain English

A medium-severity security flaw in golang.org/x/image/font/sfnt from golang.org/x/image. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 1% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.1%top 98.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Parsing a malicious font file can cause excessive memory allocation.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-golang-x-imageno fix listedDEBIAN-CVE-2026-33812
Debian:13golang-golang-x-imageno fix listedDEBIAN-CVE-2026-33812
Debian:14golang-golang-x-image0.39.0-1DEBIAN-CVE-2026-33812
Gogolang.org/x/image0.39.0GO-2026-4962
Ubuntu:22.04:LTSgolang-golang-x-imageno fix listedUBUNTU-CVE-2026-33812
Ubuntu:24.04:LTSgolang-golang-x-imageno fix listedUBUNTU-CVE-2026-33812
Ubuntu:25.10golang-golang-x-imageno fix listedUBUNTU-CVE-2026-33812
Ubuntu:26.04:LTSgolang-golang-x-imageno fix listedUBUNTU-CVE-2026-33812
Ubuntu:26.10golang-golang-x-imageno fix listedUBUNTU-CVE-2026-33812

Affected products (as reported)

VendorProductVersions
golang.org/x/image golang.org/x/image/font/sfnt 0 – before 0.39.0

References