CVE-2026-33812 Details
Description
Parsing a malicious font file can cause excessive memory allocation.
A vulnerability exists in the Golang package 'golang.org/x/image/font/sfnt' prior to version 0.39.0, where parsing a malicious font file can lead to excessive memory allocation. This issue arises in the 'io.ReaderAt' path when the 'GPOS PairPos' tables are processed. The vulnerability allows for a multi-gigabyte allocation that can crash the process, as unchecked class counts from the font file are multiplied and can exceed available memory. Additionally, the parsing functions do not validate that derived indices are within bounds, further exacerbating the issue.
Users should update to 'golang.org/x/image' version 0.39.0 or later, where this vulnerability has been addressed by adding proper validation and bounds checks in the 'GPOS' parsing to prevent excessive memory allocation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/761180 | [email protected] | Patch |
| https://go.dev/issue/78382 | [email protected] | Issue Tracking |
| https://pkg.go.dev/vuln/GO-2026-4962 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang image | < 0.39.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 13, 2026 | Initial Analysis | [email protected] |
| Apr 21, 2026 | CVE Modified | CISA-ADP |
| Apr 21, 2026 | New CVE Received | [email protected] |