Skip to content
Heist/ feed
Unrated

UBUNTU-CVE-2026-58381

Type: advisorySource: OSV1 source record

A flaw was found in GIMP's PSP file format parser. A double-free condition occurs in the read_layer_block() function when processing a specially crafted PSP file. This could allow an attacker to cause memory corruption, potentially leading to denial of service or arbitrary code execution.

Announced Group revision 1
Original source ↗

UBUNTU-CVE-2026-58381

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:UBUNTU-CVE-2026-58381

gimp

Source reference: /affected/0/package/name

Affected versions
2.8.14-1ubuntu2

Source reference: /affected/0/versions

2.8.14-1.2ubuntu1

Source reference: /affected/0/versions

2.8.16-1ubuntu1

Source reference: /affected/0/versions

2.8.16-1ubuntu1.1

Source reference: /affected/0/versions

2.8.16-1ubuntu1.1+esm1

Source reference: /affected/0/versions

2.8.16-1ubuntu1.1+esm2

Source reference: /affected/0/versions

2.8.16-1ubuntu1.1+esm3

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

gimp

Source reference: /affected/1/package/name

Affected versions
2.8.20-1

Source reference: /affected/1/versions

2.8.20-1.1

Source reference: /affected/1/versions

2.8.20-2

Source reference: /affected/1/versions

2.8.22-1

Source reference: /affected/1/versions

2.8.22-1ubuntu0.1~esm1

Source reference: /affected/1/versions

2.8.22-1ubuntu0.1~esm2

Source reference: /affected/1/versions

2.8.22-1ubuntu0.1~esm3

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

gimp

Source reference: /affected/2/package/name

Affected versions
2.10.8-2

Source reference: /affected/2/versions

2.10.14-2

Source reference: /affected/2/versions

2.10.14-2build1

Source reference: /affected/2/versions

2.10.14-2ubuntu1

Source reference: /affected/2/versions

2.10.14-3

Source reference: /affected/2/versions

2.10.18-1

Source reference: /affected/2/versions

2.10.18-1ubuntu0.1

Source reference: /affected/2/versions

2.10.18-1ubuntu0.1+esm1

Source reference: /affected/2/versions

2.10.18-1ubuntu0.1+esm2

Source reference: /affected/2/versions

2.10.18-1ubuntu0.1+esm3

Source reference: /affected/2/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

gimp

Source reference: /affected/3/package/name

Affected versions
2.10.24-2

Source reference: /affected/3/versions

2.10.28-1

Source reference: /affected/3/versions

2.10.30-1

Source reference: /affected/3/versions

2.10.30-1build1

Source reference: /affected/3/versions

2.10.30-1ubuntu0.1

Source reference: /affected/3/versions

2.10.30-1ubuntu0.1+esm1

Source reference: /affected/3/versions

2.10.30-1ubuntu0.1+esm2

Source reference: /affected/3/versions

2.10.30-1ubuntu0.1+esm3

Source reference: /affected/3/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

gimp

Source reference: /affected/4/package/name

Affected versions
2.10.34-1

Source reference: /affected/4/versions

2.10.36-1

Source reference: /affected/4/versions

2.10.36-2

Source reference: /affected/4/versions

2.10.36-3build2

Source reference: /affected/4/versions

2.10.36-3build3

Source reference: /affected/4/versions

2.10.36-3ubuntu0.24.04.1

Source reference: /affected/4/versions

2.10.36-3ubuntu0.24.04.1+esm1

Source reference: /affected/4/versions

2.10.36-3ubuntu0.24.04.1+esm2

Source reference: /affected/4/versions

2.10.36-3ubuntu0.24.04.1+esm3

Source reference: /affected/4/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

gimp

Source reference: /affected/5/package/name

Affected versions
3.0.2-1

Source reference: /affected/5/versions

3.0.2-2

Source reference: /affected/5/versions

3.0.2-3

Source reference: /affected/5/versions

3.0.2-3.1

Source reference: /affected/5/versions

3.0.4-1

Source reference: /affected/5/versions

3.0.4-2

Source reference: /affected/5/versions

3.0.4-3

Source reference: /affected/5/versions

3.0.4-5

Source reference: /affected/5/versions

3.0.4-6

Source reference: /affected/5/versions

3.0.4-6.1

Source reference: /affected/5/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

gimp

Source reference: /affected/6/package/name

Affected versions
3.0.4-6.1

Source reference: /affected/6/versions

3.0.4-6.2

Source reference: /affected/6/versions

3.0.6-1

Source reference: /affected/6/versions

3.2.0~RC2-2

Source reference: /affected/6/versions

3.2.0~RC2-3

Source reference: /affected/6/versions

3.2.0~RC2-3.1

Source reference: /affected/6/versions

3.2.0~RC2-3.2

Source reference: /affected/6/versions

3.2.0~RC2-3.3

Source reference: /affected/6/versions

3.2.0~RC3-1

Source reference: /affected/6/versions

3.2.0-1

Source reference: /affected/6/versions

3.2.2-1

Source reference: /affected/6/versions

3.2.2-1ubuntu0.26.04.1

Source reference: /affected/6/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "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-58381.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-58381.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-58381.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-58381.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-58381.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=questing",
      "ecosystem": "Ubuntu:25.10"
    },
    "versions": [
      "3.0.2-1",
      "3.0.2-2",
      "3.0.2-3",
      "3.0.2-3.1",
      "3.0.4-1",
      "3.0.4-2",
      "3.0.4-3",
      "3.0.4-5",
      "3.0.4-6",
      "3.0.4-6.1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58381.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "gimp",
          "binary_version": "3.0.4-6.1"
        },
        {
          "binary_name": "gimp-data",
          "binary_version": "3.0.4-6.1"
        },
        {
          "binary_name": "gir1.2-gimp-3.0",
          "binary_version": "3.0.4-6.1"
        },
        {
          "binary_name": "libgimp-3.0-0",
          "binary_version": "3.0.4-6.1"
        },
        {
          "binary_name": "libgimp-3.0-bin",
          "binary_version": "3.0.4-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-58381.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"
        }
      ]
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#5801 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement