{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:gimp:gimp:3.2.6:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "3.2.6"
              },
              {
                "last_affected": "3.2.6"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "e101dd19b165f927d3ba0a74658a71537c5661b9"
            },
            {
              "last_affected": "e101dd19b165f927d3ba0a74658a71537c5661b9"
            }
          ],
          "repo": "https://gitlab.gnome.org/gnome/gimp",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.2.6"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "redhat",
    "cwe_ids": [
      "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66757.json"
  },
  "details": "A flaw was found in the file-sgi plugin in GIMP. When processing an RLE-compressed SGI image, the plugin allocates memory for a row table. The image header dimensions (ysize and zsize) are read as 16-bit unsigned integers. If a crafted file sets both dimensions to their maximum value (65535), the multiplication ysize * zsize overflows the standard 32-bit int boundary before being passed to calloc. This integer overflow issue results in undefined behavior, aborting the plugin and causing a denial of service.",
  "id": "CVE-2026-66757",
  "modified": "2026-09-11T03:30:35.059126459Z",
  "published": "2026-07-27T19:07:13.384Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "WEB",
      "url": "https://gitlab.gnome.org/GNOME/gimp/-/work_items/16494"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-66757"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66757.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-66757"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2507465"
    },
    {
      "type": "PACKAGE",
      "url": "https://gitlab.gnome.org/GNOME/gimp"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Gimp: signed integer overflow in file-sgi (sgi-lib) causes the plugin to crash on rle sgi images"
}