Skip to content
Heist/ feed
Back to feed
Medium

Gimp: gimp:memory disclosure and denial of service via specially crafted pcx image

Type: advisorySources: OSV

A flaw was found in GIMP. This issue is a heap buffer over-read in GIMP PCX file loader due to an off-by-one error. A remote attacker could exploit this by convincing a user to open a specially crafted PCX image. Successful exploitation could lead to out-of-bounds memory disclosure and a possible application crash, resulting in a Denial of Service (DoS).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-4887
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:06 UTC · Revision 1

Source evidence

Gimp: gimp:memory disclosure and denial of service via specially crafted pcx image

core-osv · Original source

Published 26 Mar 2026, 12:08 UTC

A flaw was found in GIMP. This issue is a heap buffer over-read in GIMP PCX file loader due to an off-by-one error. A remote attacker could exploit this by convincing a user to open a specially crafted PCX image. Successful exploitation could lead to out-of-bounds memory disclosure and a possible application crash, resulting in a Denial of Service (DoS).

osv:CVE-2026-4887
Complete source record
{
  "id": "dea0863416b5a1ae4c0cb5ac23b093a5771c2ff28133eb84b017382500ba9a8a",
  "url": "https://osv.dev/vulnerability/CVE-2026-4887",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Gimp: gimp:memory disclosure and denial of service via specially crafted pcx image",
    "summary": "A flaw was found in GIMP. This issue is a heap buffer over-read in GIMP PCX file loader due to an off-by-one error. A remote attacker could exploit this by convincing a user to open a specially crafted PCX image. Successful exploitation could lead to out-of-bounds memory disclosure and a possible application crash, resulting in a Denial of Service (DoS).",
    "evidence": "osv:CVE-2026-4887",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-4887",
      "aliases": [
        "CVE-2026-4887"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gnome/gimp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7a6d7ef0492196cae45249ee4c8a3554d2ac8bd2"
                },
                {
                  "introduced": "4fed5c263b914b1140da7f1d71e3bd942d162b8d"
                },
                {
                  "last_affected": "c4dd447133d91d2ce423b93f86179e099b265882"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gimp:gimp:3.2.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.0-rc1"
                      },
                      {
                        "last_affected": "3.2.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gimp:gimp:3.2.0:rc2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.0-rc2"
                      },
                      {
                        "last_affected": "3.2.0-rc2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "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-rc1",
            "3.2.0-rc2",
            "3.2.0-rc3",
            "GIMP_3_2_0_RC3",
            "GIMP_3_2_0_RC2",
            "GIMP_3_2_0_RC1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4887.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://gitlab.gnome.org/gnome/gimp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7a6d7ef0492196cae45249ee4c8a3554d2ac8bd2"
                },
                {
                  "introduced": "4fed5c263b914b1140da7f1d71e3bd942d162b8d"
                },
                {
                  "last_affected": "c4dd447133d91d2ce423b93f86179e099b265882"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gimp:gimp:3.2.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.0-rc1"
                      },
                      {
                        "last_affected": "3.2.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gimp:gimp:3.2.0:rc2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.0-rc2"
                      },
                      {
                        "last_affected": "3.2.0-rc2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "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-rc1",
            "3.2.0-rc2",
            "3.2.0-rc3",
            "GIMP_3_2_0_RC3",
            "GIMP_3_2_0_RC2",
            "GIMP_3_2_0_RC1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4887.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.012341895Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://access.redhat.com/errata/RHSA-2026:16484",
        "https://access.redhat.com/errata/RHSA-2026:17533",
        "https://access.redhat.com/errata/RHSA-2026:19362",
        "https://access.redhat.com/errata/RHSA-2026:20552",
        "https://access.redhat.com/errata/RHSA-2026:20553",
        "https://access.redhat.com/errata/RHSA-2026:20554",
        "https://access.redhat.com/errata/RHSA-2026:20691",
        "https://access.redhat.com/errata/RHSA-2026:25899",
        "https://access.redhat.com/errata/RHSA-2026:25901",
        "https://access.redhat.com/errata/RHSA-2026:25907",
        "https://access.redhat.com/errata/RHSA-2026:26168",
        "https://access.redhat.com/security/cve/CVE-2026-4887",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4887.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-4887",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2451669",
        "https://gitlab.gnome.org/GNOME/gimp/-/issues/15960"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-193"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2:2.8.22-1.el7_9.6"
                  },
                  {
                    "fixed": "8100020260512115927.4c9c024f"
                  },
                  {
                    "fixed": "8040020260520140422.70584597"
                  },
                  {
                    "fixed": "8040020260520140422.70584597"
                  },
                  {
                    "fixed": "8060020260520140100.6af1eaf0"
                  },
                  {
                    "fixed": "8060020260520140100.6af1eaf0"
                  },
                  {
                    "fixed": "8060020260520140100.6af1eaf0"
                  },
                  {
                    "fixed": "8080020260520102644.0621e4ee"
                  },
                  {
                    "fixed": "8080020260520102644.0621e4ee"
                  },
                  {
                    "fixed": "2:3.0.4-1.el9_7.5"
                  },
                  {
                    "fixed": "2:3.0.4-4.el9_8.4"
                  },
                  {
                    "fixed": "2:2.99.8-3.el9_0.6"
                  },
                  {
                    "fixed": "2:2.99.8-4.el9_2.6"
                  },
                  {
                    "fixed": "2:2.99.8-4.el9_4.6"
                  },
                  {
                    "fixed": "2:2.99.8-4.el9_6.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4887.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-4887",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504412,
  "published_at": "2026-03-26T12:08:47.354+00:00"
}