Skip to content
Heist/ feed
Back to feed
Low

Gimp: gimp: application crash (dos) via crafted psd file due to heap-buffer-overflow

Type: advisorySources: OSV

A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not properly null-terminated, leading to an out-of-bounds read when strlen() is subsequently called. Successfully exploiting this vulnerability can cause the application to crash, resulting in an application level Denial of Service.

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

Source evidence

Gimp: gimp: application crash (dos) via crafted psd file due to heap-buffer-overflow

core-osv · Original source

Published 26 Mar 2026, 20:00 UTC

A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not properly null-terminated, leading to an out-of-bounds read when strlen() is subsequently called. Successfully exploiting this vulnerability can cause the application to crash, resulting in an application level Denial of Service.

osv:CVE-2026-2239
Complete source record
{
  "id": "a29473a980a848dc14b521aabfbed061b7fec5798ec2bd2e1c7237bb9dfe0437",
  "url": "https://osv.dev/vulnerability/CVE-2026-2239",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Gimp: gimp: application crash (dos) via crafted psd file due to heap-buffer-overflow",
    "summary": "A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not properly null-terminated, leading to an out-of-bounds read when strlen() is subsequently called. Successfully exploiting this vulnerability can cause the application to crash, resulting in an application level Denial of Service.",
    "evidence": "osv:CVE-2026-2239",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-2239",
      "aliases": [
        "CVE-2026-2239"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gnome/gimp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c4dd447133d91d2ce423b93f86179e099b265882"
                },
                {
                  "last_affected": "c4dd447133d91d2ce423b93f86179e099b265882"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gimp:gimp:3.2.0:rc3:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.0-rc3"
                      },
                      {
                        "last_affected": "3.2.0-rc3"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.2.0-rc3",
            "GIMP_3_2_0_RC3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2239.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://gitlab.gnome.org/gnome/gimp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c4dd447133d91d2ce423b93f86179e099b265882"
                },
                {
                  "last_affected": "c4dd447133d91d2ce423b93f86179e099b265882"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gimp:gimp:3.2.0:rc3:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.0-rc3"
                      },
                      {
                        "last_affected": "3.2.0-rc3"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.2.0-rc3",
            "GIMP_3_2_0_RC3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2239.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.398698926Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://access.redhat.com/security/cve/CVE-2026-2239",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2239.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-2239",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2437675",
        "https://gitlab.gnome.org/GNOME/gimp/-/issues/15812"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-170"
        ],
        "cna_assigner": "redhat",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2239.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-2239",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496369,
  "published_at": "2026-03-26T20:00:28.595+00:00"
}