Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

Parsing a malicious font file can cause excessive memory allocation.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-33812
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:05 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 21 Apr 2026, 19:21 UTC

Parsing a malicious font file can cause excessive memory allocation.

osv:CVE-2026-33812
Complete source record
{
  "id": "8b34354350b0f9afa5f0045df25a8c7d076e14a8fa7a9cf0d8a3c3ef38604027",
  "url": "https://osv.dev/vulnerability/CVE-2026-33812",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Excessive memory allocation when decoding malicious SFNT in golang.org/x/image",
    "summary": "Parsing a malicious font file can cause excessive memory allocation.",
    "evidence": "osv:CVE-2026-33812",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-33812",
      "aliases": [
        "CVE-2026-33812",
        "GO-2026-4962"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/golang/image",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3d5c9b6581c33f5d7d9223b9613a2f6bad6f7df5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:golang:image:*:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.39.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.38.0",
            "v0.37.0",
            "v0.36.0",
            "v0.35.0",
            "v0.34.0",
            "v0.33.0",
            "v0.32.0",
            "v0.31.0",
            "v0.30.0",
            "v0.29.0",
            "v0.28.0",
            "v0.27.0",
            "v0.26.0",
            "v0.25.0",
            "v0.24.0",
            "v0.23.0",
            "v0.22.0",
            "v0.21.0",
            "v0.20.0",
            "v0.19.0",
            "v0.18.0",
            "v0.17.0",
            "v0.16.0",
            "v0.15.0",
            "v0.14.0",
            "v0.13.0",
            "v0.12.0",
            "v0.11.0",
            "v0.10.0",
            "v0.9.0",
            "v0.8.0",
            "v0.7.0",
            "v0.6.0",
            "v0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33812.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.532565647Z",
      "provider": "osv",
      "references": [
        "https://go.dev/cl/761180",
        "https://go.dev/issue/78382",
        "https://pkg.go.dev",
        "https://pkg.go.dev/vuln/GO-2026-4962",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33812.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-33812"
      ],
      "provider_metadata": {
        "cna_assigner": "Go",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.39.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33812.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-33812",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494373,
  "published_at": "2026-04-21T19:21:28.556+00:00"
}