{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:gimp:gimp:3.0.8:*:*:*:*:*:*:*",
              "cpe:2.3:a:gimp:gimp:3.2.4:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "3.0.8"
              },
              {
                "last_affected": "3.0.8"
              },
              {
                "introduced": "3.2.4"
              },
              {
                "last_affected": "3.2.4"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "6ac8031c9555667e080fef0324fca9f28a02e5ab"
            },
            {
              "last_affected": "6987b3853c10517eb581deeb20572fb5f99a7086"
            }
          ],
          "repo": "https://github.com/gnome/gimp",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.0.8",
        "3.2.4"
      ]
    },
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:gimp:gimp:3.0.8:*:*:*:*:*:*:*",
              "cpe:2.3:a:gimp:gimp:3.2.4:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "3.0.8"
              },
              {
                "last_affected": "3.0.8"
              },
              {
                "introduced": "3.2.4"
              },
              {
                "last_affected": "3.2.4"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "6ac8031c9555667e080fef0324fca9f28a02e5ab"
            },
            {
              "last_affected": "6987b3853c10517eb581deeb20572fb5f99a7086"
            }
          ],
          "repo": "https://gitlab.gnome.org/gnome/gimp",
          "type": "GIT"
        }
      ],
      "versions": [
        "3.0.8",
        "3.2.4"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "redhat",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66759.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "2.99.14"
          },
          {
            "fixed": "*"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "A flaw was found in the file-icns plugin in GIMP. When applying a decompressed mask during ICNS image processing, the plugin reads from the mask data buffer without verifying if the cursor exceeds the allocated resource size. If a crafted file contains a truncated mask resource, the icns_decompress function continues reading past the bounds of the buffer. This out-of-bounds read vulnerability results in information disclosure of heap contents, where memory contents are leaked as alpha channel pixel values, or a crash leading to a denial of service if unmapped memory is accessed.",
  "id": "CVE-2026-66759",
  "modified": "2026-08-12T03:51:19.846585495Z",
  "published": "2026-07-27T19:12:27.455Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2026:50817"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-66759"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66759.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-66759"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2507557"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.gnome.org/GNOME/gimp/-/issues/16528"
    },
    {
      "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:H/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Gimp: out-of-bounds read in file-icns plugin causes information disclosure or crash on crafted icns images"
}