Skip to content
Heist/ feed
Back to feed
High

gimp — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-18301

GIMP PSD File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of PSD files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29395.

Products
gimp
Affected versions
2.10.14-2, 2.10.14-2build1, 2.10.14-2ubuntu1, 2.10.14-3, 2.10.18-1, 2.10.18-1ubuntu0.1, 2.10.18-1ubuntu0.1+esm1, 2.10.18-1ubuntu0.1+esm2, 2.10.18-1ubuntu0.1+esm3, 2.10.24-2, 2.10.28-1, 2.10.30-1, 2.10.30-1build1, 2.10.30-1ubuntu0.1, 2.10.30-1ubuntu0.1+esm1, 2.10.30-1ubuntu0.1+esm2, 2.10.30-1ubuntu0.1+esm3, 2.10.34-1, 2.10.36-1, 2.10.36-2, 2.10.36-3build2, 2.10.36-3build3, 2.10.36-3ubuntu0.24.04.1, 2.10.36-3ubuntu0.24.04.1+esm1, 2.10.36-3ubuntu0.24.04.1+esm2, 2.10.36-3ubuntu0.24.04.1+esm3, 2.10.8-2, 2.8.14-1.2ubuntu1, 2.8.14-1ubuntu2, 2.8.16-1ubuntu1, 2.8.16-1ubuntu1.1, 2.8.16-1ubuntu1.1+esm1, 2.8.16-1ubuntu1.1+esm2, 2.8.16-1ubuntu1.1+esm3, 2.8.20-1, 2.8.20-1.1, 2.8.20-2, 2.8.22-1, 2.8.22-1ubuntu0.1~esm1, 2.8.22-1ubuntu0.1~esm2, 2.8.22-1ubuntu0.1~esm3, 3.0.4-6.1, 3.0.4-6.2, 3.0.6-1, 3.2.0-1, 3.2.0~RC2-2, 3.2.0~RC2-3, 3.2.0~RC2-3.1, 3.2.0~RC2-3.2, 3.2.0~RC2-3.3, 3.2.0~RC3-1, 3.2.2-1, 3.2.2-1ubuntu0.26.04.1, 3.2.4-1, 3.2.4-2, 3.2.4-3, 3.2.6-1
Fixed versions
Not specified
CVEs
CVE-2026-18301
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:55 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-18301

core-osv · Original source

Published 20 Aug 2026, 17:17 UTC

GIMP PSD File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of PSD files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29395.

osv:UBUNTU-CVE-2026-18301

gimp

Fixed versions: Not specified

gimp

Fixed versions: Not specified

gimp

Fixed versions: Not specified

gimp

Fixed versions: Not specified

gimp

Fixed versions: Not specified

gimp

Fixed versions: Not specified

gimp

Fixed versions: Not specified

Complete source record
{
  "id": "8156484085da993f6c7434543a02de0b45f8aabc679f0a4ccf450bd62d8197e0",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-18301",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-18301",
    "summary": "GIMP PSD File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of PSD files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29395.",
    "evidence": "osv:UBUNTU-CVE-2026-18301",
    "products": [
      {
        "name": {
          "value": "gimp",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.8.14-1ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.8.14-1.2ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.8.16-1ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.8.16-1ubuntu1.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.8.16-1ubuntu1.1+esm1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.8.16-1ubuntu1.1+esm2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.8.16-1ubuntu1.1+esm3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gimp",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.8.20-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.8.20-1.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.8.20-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.8.22-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.8.22-1ubuntu0.1~esm1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.8.22-1ubuntu0.1~esm2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.8.22-1ubuntu0.1~esm3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gimp",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.10.8-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.10.14-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.10.14-2build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.10.14-2ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.10.14-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.10.18-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.10.18-1ubuntu0.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.10.18-1ubuntu0.1+esm1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.10.18-1ubuntu0.1+esm2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.10.18-1ubuntu0.1+esm3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gimp",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.10.24-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.10.28-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.10.30-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.10.30-1build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.10.30-1ubuntu0.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.10.30-1ubuntu0.1+esm1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.10.30-1ubuntu0.1+esm2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.10.30-1ubuntu0.1+esm3",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gimp",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.10.34-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.10.36-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.10.36-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.10.36-3build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.10.36-3build3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.10.36-3ubuntu0.24.04.1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.10.36-3ubuntu0.24.04.1+esm1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.10.36-3ubuntu0.24.04.1+esm2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.10.36-3ubuntu0.24.04.1+esm3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gimp",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.2.2-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.2.4-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.2.4-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.2.4-3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.2.6-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gimp",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.4-6.1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.0.4-6.2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.0.6-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.2.0~RC2-2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.2.0~RC2-3",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.2.0~RC2-3.1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.2.0~RC2-3.2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.2.0~RC2-3.3",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.2.0~RC3-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.2.0-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.2.2-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.2.2-1ubuntu0.26.04.1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-18301",
      "aliases": [
        "UBUNTU-CVE-2026-18301"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gimp",
            "purl": "pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "2.8.14-1ubuntu2",
            "2.8.14-1.2ubuntu1",
            "2.8.16-1ubuntu1",
            "2.8.16-1ubuntu1.1",
            "2.8.16-1ubuntu1.1+esm1",
            "2.8.16-1ubuntu1.1+esm2",
            "2.8.16-1ubuntu1.1+esm3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18301.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gimp",
                "binary_version": "2.8.16-1ubuntu1.1+esm3"
              },
              {
                "binary_name": "gimp-data",
                "binary_version": "2.8.16-1ubuntu1.1+esm3"
              },
              {
                "binary_name": "libgimp2.0",
                "binary_version": "2.8.16-1ubuntu1.1+esm3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gimp",
            "purl": "pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "2.8.20-1",
            "2.8.20-1.1",
            "2.8.20-2",
            "2.8.22-1",
            "2.8.22-1ubuntu0.1~esm1",
            "2.8.22-1ubuntu0.1~esm2",
            "2.8.22-1ubuntu0.1~esm3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18301.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gimp",
                "binary_version": "2.8.22-1ubuntu0.1~esm3"
              },
              {
                "binary_name": "gimp-data",
                "binary_version": "2.8.22-1ubuntu0.1~esm3"
              },
              {
                "binary_name": "libgimp2.0",
                "binary_version": "2.8.22-1ubuntu0.1~esm3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gimp",
            "purl": "pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "2.10.8-2",
            "2.10.14-2",
            "2.10.14-2build1",
            "2.10.14-2ubuntu1",
            "2.10.14-3",
            "2.10.18-1",
            "2.10.18-1ubuntu0.1",
            "2.10.18-1ubuntu0.1+esm1",
            "2.10.18-1ubuntu0.1+esm2",
            "2.10.18-1ubuntu0.1+esm3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18301.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gimp",
                "binary_version": "2.10.18-1ubuntu0.1+esm3"
              },
              {
                "binary_name": "gimp-data",
                "binary_version": "2.10.18-1ubuntu0.1+esm3"
              },
              {
                "binary_name": "libgimp2.0",
                "binary_version": "2.10.18-1ubuntu0.1+esm3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gimp",
            "purl": "pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps%2Fjammy",
            "ecosystem": "Ubuntu:Pro:22.04:LTS"
          },
          "versions": [
            "2.10.24-2",
            "2.10.28-1",
            "2.10.30-1",
            "2.10.30-1build1",
            "2.10.30-1ubuntu0.1",
            "2.10.30-1ubuntu0.1+esm1",
            "2.10.30-1ubuntu0.1+esm2",
            "2.10.30-1ubuntu0.1+esm3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18301.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gimp",
                "binary_version": "2.10.30-1ubuntu0.1+esm3"
              },
              {
                "binary_name": "gimp-data",
                "binary_version": "2.10.30-1ubuntu0.1+esm3"
              },
              {
                "binary_name": "libgimp2.0",
                "binary_version": "2.10.30-1ubuntu0.1+esm3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gimp",
            "purl": "pkg:deb/ubuntu/gimp?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "2.10.34-1",
            "2.10.36-1",
            "2.10.36-2",
            "2.10.36-3build2",
            "2.10.36-3build3",
            "2.10.36-3ubuntu0.24.04.1",
            "2.10.36-3ubuntu0.24.04.1+esm1",
            "2.10.36-3ubuntu0.24.04.1+esm2",
            "2.10.36-3ubuntu0.24.04.1+esm3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18301.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gimp",
                "binary_version": "2.10.36-3ubuntu0.24.04.1+esm3"
              },
              {
                "binary_name": "gimp-data",
                "binary_version": "2.10.36-3ubuntu0.24.04.1+esm3"
              },
              {
                "binary_name": "libgimp2.0t64",
                "binary_version": "2.10.36-3ubuntu0.24.04.1+esm3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gimp",
            "purl": "pkg:deb/ubuntu/gimp?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.2.2-1",
            "3.2.4-1",
            "3.2.4-2",
            "3.2.4-3",
            "3.2.6-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18301.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gimp",
                "binary_version": "3.2.6-1"
              },
              {
                "binary_name": "gimp-data",
                "binary_version": "3.2.6-1"
              },
              {
                "binary_name": "gir1.2-gimp-3.0",
                "binary_version": "3.2.6-1"
              },
              {
                "binary_name": "libgimp-3.0-0",
                "binary_version": "3.2.6-1"
              },
              {
                "binary_name": "libgimp-3.0-bin",
                "binary_version": "3.2.6-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gimp",
            "purl": "pkg:deb/ubuntu/gimp?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.0.4-6.1",
            "3.0.4-6.2",
            "3.0.6-1",
            "3.2.0~RC2-2",
            "3.2.0~RC2-3",
            "3.2.0~RC2-3.1",
            "3.2.0~RC2-3.2",
            "3.2.0~RC2-3.3",
            "3.2.0~RC3-1",
            "3.2.0-1",
            "3.2.2-1",
            "3.2.2-1ubuntu0.26.04.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18301.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gimp",
                "binary_version": "3.2.2-1ubuntu0.26.04.1"
              },
              {
                "binary_name": "gimp-data",
                "binary_version": "3.2.2-1ubuntu0.26.04.1"
              },
              {
                "binary_name": "gir1.2-gimp-3.0",
                "binary_version": "3.2.2-1ubuntu0.26.04.1"
              },
              {
                "binary_name": "libgimp-3.0-0",
                "binary_version": "3.2.2-1ubuntu0.26.04.1"
              },
              {
                "binary_name": "libgimp-3.0-bin",
                "binary_version": "3.2.2-1ubuntu0.26.04.1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:53.634722508Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-18301"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-18301",
        "https://www.cve.org/CVERecord?id=CVE-2026-18301"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-18301",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359884,
  "published_at": "2026-08-20T17:17:00+00:00"
}