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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-04-21 20:43 UTC
CWE
  • CWE-789 - Memory Allocation with Excessive Size Value
Assigner
Go CNA under the Google root
CNA scorecard E 42/100 over 76 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
golang.org/x/image golang.org/x/image/font/sfnt Affected: 0 , < 0.39.0 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "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-10-29",
      "epss": "0.00112",
      "percentile": "0.01355"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "security@golang.org"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:golang:image:*:*:*:*:*:go:*:*",
                    "matchCriteriaId": "C0501D26-73D5-4E11-80EE-77576FB64671",
                    "versionEndExcluding": "0.39.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Parsing a malicious font file can cause excessive memory allocation."
          },
          {
            "lang": "es",
            "value": "El an\u00e1lisis de un archivo de fuente malicioso puede causar una asignaci\u00f3n excesiva de memoria."
          }
        ],
        "id": "CVE-2026-33812",
        "lastModified": "2026-10-26T21:10:00.170",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "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"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 4.2,
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-33812",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-04-21T20:43:08.370574Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-04-21T20:16:56.290",
        "references": [
          {
            "source": "security@golang.org",
            "tags": [
              "Patch"
            ],
            "url": "https://go.dev/cl/761180"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Issue Tracking"
            ],
            "url": "https://go.dev/issue/78382"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://pkg.go.dev/vuln/GO-2026-4962"
          }
        ],
        "sourceIdentifier": "security@golang.org",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-770"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-21T11:05:23+00:00",
      "cve": "CVE-2026-33812",
      "id": "CVE-2026-33812",
      "initial_release_date": "2026-04-21T19:21:28.556000+00:00",
      "product_status:fixed": "3",
      "product_status:known_affected": "45",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "golang.org/x/image: golang.org/x/image: Denial of Service due to excessive memory allocation when parsing malicious font files",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33812.json",
      "version": "3"
    },
    "vulnrichment": {
      "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:03.869Z",
              "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"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.