Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-33812 EUVD-2026-24245GO-2026-4962

Excessive memory allocation when decoding malicious SFNT in golang.org/x/image

Published Apr 21, 2026 · Updated Apr 21, 2026 · Assigned by Go

Description

Parsing a malicious font file can cause excessive memory allocation.

Affected products

VendorProductAffectedFixed
golang.org/x/image golang.org/x/image/font/sfnt < 0.39.0 0.39.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-golang-x-image 0.39.0-1 —
Debian 13 golang-golang-x-image No fix yet —
Debian 12 golang-golang-x-image No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-golang-x-image No fix yet —
Ubuntu 26.04 LTS golang-golang-x-image No fix yet —
Ubuntu 25.10 golang-golang-x-image No fix yet —
Ubuntu 24.04 LTS golang-golang-x-image No fix yet —
Ubuntu 22.04 LTS golang-golang-x-image No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-golang-x-image No fix yet —
Ubuntu 18.04 LTS golang-golang-x-image No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 hugo 0.166.0-0.1.hum1 RHSA-2026:66266
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 rclone 1.74.2-80.amzn2023 ALAS2023-2026-1810

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling mattermost-11.1 11.1.3-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go golang.org/x/image < 0.39.0 0.39.0 GO-2026-4962

Advisories 3

References