Skip to content
Heist/ feed
Back to feed
Medium

Gimp: gimp: denial of service via integer overflow in playstation tim loader

Type: advisorySources: OSV

A flaw was found in GIMP. The PlayStation TIM loader, responsible for handling PlayStation image files, incorrectly calculates the size of the Color Look-Up Table (CLUT) due to an integer overflow. This occurs when multiplying num_colors and num_cluts, both 16-bit unsigned short integers, resulting in a value exceeding the maximum integer limit. An attacker could exploit this by providing a specially crafted image file, leading to undefined behavior and causing the GIMP plug-in to abort, effectively resulting in a denial of service.

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

Source evidence

Gimp: gimp: denial of service via integer overflow in playstation tim loader

core-osv · Original source

Published 6 Jul 2026, 19:38 UTC

A flaw was found in GIMP. The PlayStation TIM loader, responsible for handling PlayStation image files, incorrectly calculates the size of the Color Look-Up Table (CLUT) due to an integer overflow. This occurs when multiplying num_colors and num_cluts, both 16-bit unsigned short integers, resulting in a value exceeding the maximum integer limit. An attacker could exploit this by providing a specially crafted image file, leading to undefined behavior and causing the GIMP plug-in to abort, effectively resulting in a denial of service.

osv:CVE-2026-59089
Complete source record
{
  "id": "d7021ad131d761f63d3e036e960426fd544cb02516ce634f04686864c5ed072d",
  "url": "https://osv.dev/vulnerability/CVE-2026-59089",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Gimp: gimp: denial of service via integer overflow in playstation tim loader",
    "summary": "A flaw was found in GIMP. The PlayStation TIM loader, responsible for handling PlayStation image files, incorrectly calculates the size of the Color Look-Up Table (CLUT) due to an integer overflow. This occurs when multiplying num_colors and num_cluts, both 16-bit unsigned short integers, resulting in a value exceeding the maximum integer limit. An attacker could exploit this by providing a specially crafted image file, leading to undefined behavior and causing the GIMP plug-in to abort, effectively resulting in a denial of service.",
    "evidence": "osv:CVE-2026-59089",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-59089",
      "aliases": [
        "CVE-2026-59089"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gnome/gimp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e101dd19b165f927d3ba0a74658a71537c5661b9"
                },
                {
                  "last_affected": "e101dd19b165f927d3ba0a74658a71537c5661b9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gimp:gimp:3.2.6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.6"
                      },
                      {
                        "last_affected": "3.2.6"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            },
            {
              "repo": "https://gitlab.gnome.org/gnome/gimp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e101dd19b165f927d3ba0a74658a71537c5661b9"
                },
                {
                  "last_affected": "e101dd19b165f927d3ba0a74658a71537c5661b9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.2.6"
                      },
                      {
                        "last_affected": "3.2.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:gimp:gimp:3.2.6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.6"
                      },
                      {
                        "last_affected": "3.2.6"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.2.6",
            "GIMP_3_2_6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59089.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.084881119Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://gitlab.gnome.org/GNOME/gimp/-/work_items/16493",
        "https://access.redhat.com/security/cve/CVE-2026-59089",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59089.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-59089",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2496583",
        "https://gitlab.gnome.org/GNOME/gimp"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-190"
        ],
        "cna_assigner": "redhat",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59089.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-59089",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493913,
  "published_at": "2026-07-06T19:38:16.905+00:00"
}