Refine your search

1 vulnerability found for golang.org/x/image/font/sfnt by golang.org/x/image

CVE-2026-33812 (GCVE-0-2026-33812)
Vulnerability from cvelistv5
Published
2026-04-21 19:21
Modified
2026-04-21 20:43
Summary
Parsing a malicious font file can cause excessive memory allocation.
Impacted products
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"
}