Skip to content
Heist/ feed
Back to feed
Unrated

Excessive resource consumption in golang.org/x/image/tiff

Type: advisorySources: OSV

The TIFF decoder does not place a limit on the size of compressed tile data. A maliciously-crafted image can exploit this to cause a small image (both in terms of pixel width/height, and encoded size) to make the decoder decode large amounts of compressed data, consuming excessive memory and CPU.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-29408
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:53 UTC · Revision 1

Source evidence

Excessive resource consumption in golang.org/x/image/tiff

core-osv · Original source

Published 2 Aug 2023, 19:52 UTC

The TIFF decoder does not place a limit on the size of compressed tile data. A maliciously-crafted image can exploit this to cause a small image (both in terms of pixel width/height, and encoded size) to make the decoder decode large amounts of compressed data, consuming excessive memory and CPU.

osv:CVE-2023-29408
Complete source record
{
  "id": "248385ac715414c28aae7f17f7e8108d112056215bb5f63ec46367d445ef4a88",
  "url": "https://osv.dev/vulnerability/CVE-2023-29408",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Excessive resource consumption in golang.org/x/image/tiff",
    "summary": "The TIFF decoder does not place a limit on the size of compressed tile data. A maliciously-crafted image can exploit this to cause a small image (both in terms of pixel width/height, and encoded size) to make the decoder decode large amounts of compressed data, consuming excessive memory and CPU.",
    "evidence": "osv:CVE-2023-29408",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-29408",
      "aliases": [
        "CVE-2023-29408",
        "GHSA-x92r-3vfx-4cv3",
        "GO-2023-1989"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/golang/image",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cb227cd2c919b27c6206fe0c1041a8bcc677949d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:golang:image:*:*:*:*:*:go:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.10.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "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-2023-29408.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.077806097Z",
      "provider": "osv",
      "references": [
        "https://go.dev/cl/514897",
        "https://go.dev/issue/61582",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KO54NBDUJXKAZNGCFOEYL2LKK2RQP6K6/",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWH6Q7NVM4MV3GWFEU4PA67AWZHVFJQ2/",
        "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XZTEP6JYILRBNDTNWTEQ5D4QUUVQBESK/",
        "https://pkg.go.dev",
        "https://pkg.go.dev/vuln/GO-2023-1989",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29408.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-29408",
        "https://security.netapp.com/advisory/ntap-20230831-0009/"
      ],
      "provider_metadata": {
        "cna_assigner": "Go",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.10.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29408.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-29408",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 510036,
  "published_at": "2023-08-02T19:52:48.613+00:00"
}