{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "last_affected": "3.2.4"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "9785099e5a0dcdc3011dd26c6c2e9b332d36c035"
            },
            {
              "last_affected": "6987b3853c10517eb581deeb20572fb5f99a7086"
            }
          ],
          "repo": "https://github.com/gnome/gimp",
          "type": "GIT"
        }
      ]
    },
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "3.0.0"
              },
              {
                "last_affected": "3.2.4"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "9785099e5a0dcdc3011dd26c6c2e9b332d36c035"
            },
            {
              "last_affected": "6987b3853c10517eb581deeb20572fb5f99a7086"
            }
          ],
          "repo": "https://gitlab.gnome.org/gnome/gimp",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "redhat",
    "cwe_ids": [
      "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78465.json"
  },
  "details": "A flaw was found in the file-pcx plugin in GIMP, affecting 32-bit builds only. When processing a PCX image file, the plugin calculates memory allocation sizes based on the image dimensions and the number of color planes. If a crafted file sets the number of planes to 4 alongside sufficiently large dimensions, the calculation exceeds the 32-bit integer limit and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when the plugin subsequently writes image data into the undersized buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.",
  "id": "CVE-2026-78465",
  "modified": "2026-09-10T03:30:46.275669197Z",
  "published": "2026-08-24T16:28:12.574Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "WEB",
      "url": "https://gitlab.gnome.org/GNOME/gimp/-/work_items/16578"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2026-78465"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78465.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-78465"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2522057"
    },
    {
      "type": "PACKAGE",
      "url": "https://gitlab.gnome.org/GNOME/gimp"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Gimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bit"
}