Skip to content
Heist/ feed
Back to feed
High

gegl — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-10921

GIMP HDR File Parsing Heap-based Buffer 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 HDR files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27803.

Products
gegl
Affected versions
0.3.0-4ubuntu2, 0.3.2-1ubuntu1, 0.3.2-1ubuntu2, 0.3.20-1, 0.3.20-3, 0.3.24-1, 0.3.28-3, 0.3.30-1, 0.3.30-1ubuntu1, 0.3.30-1ubuntu1+esm1, 0.3.4-1ubuntu1, 0.3.4-1ubuntu2, 0.3.4-1ubuntu2+esm1, 0.4.14-1, 0.4.18-1ubuntu1, 0.4.18-2, 0.4.18-2build1, 0.4.22-1, 0.4.22-3, 0.4.22-3ubuntu0.1~esm1, 1:0.4.32-1, 1:0.4.32-2, 1:0.4.34-1, 1:0.4.34-1build1, 1:0.4.44-3ubuntu1, 1:0.4.46-4, 1:0.4.48-1, 1:0.4.48-2.4build1, 1:0.4.48-2.4build2, 1:0.4.58-1, 1:0.4.58-2, 1:0.4.62-1, 1:0.4.62-2, 1:0.4.62-3, 1:0.4.62-3.1, 1:0.4.64-1, 1:0.4.64-2, 1:0.4.66-2, 1:0.4.66-3, 1:0.4.68-1, 1:0.4.70-1, 1:0.4.70-3build1, 1:0.4.70-4
Fixed versions
Not specified
CVEs
CVE-2025-10921
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:24 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-10921

core-osv · Original source

Published 29 Oct 2025, 20:15 UTC

GIMP HDR File Parsing Heap-based Buffer 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 HDR files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27803.

osv:UBUNTU-CVE-2025-10921

gegl

Fixed versions: Not specified

gegl

Fixed versions: Not specified

gegl

Fixed versions: Not specified

gegl

Fixed versions: Not specified

gegl

Fixed versions: Not specified

gegl

Fixed versions: Not specified

gegl

Fixed versions: Not specified

gegl

Fixed versions: Not specified

Complete source record
{
  "id": "79e1afd27e984ff90157917fe5b38977abfee518208bc03c96a0d4599960f67f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-10921",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-10921",
    "summary": "GIMP HDR File Parsing Heap-based Buffer 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 HDR files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27803.",
    "evidence": "osv:UBUNTU-CVE-2025-10921",
    "products": [
      {
        "name": {
          "value": "gegl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.3.0-4ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.3.2-1ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.3.2-1ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.3.4-1ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.3.4-1ubuntu2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.3.4-1ubuntu2+esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gegl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.3.20-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.3.20-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.3.24-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.3.28-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.3.30-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.3.30-1ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.3.30-1ubuntu1+esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gegl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.14-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.4.18-1ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.4.18-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.4.18-2build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.4.22-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.4.22-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.4.22-3ubuntu0.1~esm1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gegl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.4.32-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1:0.4.32-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1:0.4.34-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1:0.4.34-1build1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gegl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.4.44-3ubuntu1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:0.4.46-4",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:0.4.48-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:0.4.48-2.4build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1:0.4.48-2.4build2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gegl",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.4.58-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1:0.4.58-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1:0.4.62-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1:0.4.62-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1:0.4.62-3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1:0.4.62-3.1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gegl",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.4.70-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1:0.4.70-3build1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1:0.4.70-4",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gegl",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1:0.4.62-3.1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1:0.4.64-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1:0.4.64-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1:0.4.66-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1:0.4.66-3",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1:0.4.68-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1:0.4.70-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2025-10921",
      "aliases": [
        "UBUNTU-CVE-2025-10921"
      ],
      "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": "gegl",
            "purl": "pkg:deb/ubuntu/gegl?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "0.3.0-4ubuntu2",
            "0.3.2-1ubuntu1",
            "0.3.2-1ubuntu2",
            "0.3.4-1ubuntu1",
            "0.3.4-1ubuntu2",
            "0.3.4-1ubuntu2+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-10921.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gegl",
                "binary_version": "0.3.4-1ubuntu2+esm1"
              },
              {
                "binary_name": "libgegl-0.3-0",
                "binary_version": "0.3.4-1ubuntu2+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gegl",
            "purl": "pkg:deb/ubuntu/gegl?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "0.3.20-1",
            "0.3.20-3",
            "0.3.24-1",
            "0.3.28-3",
            "0.3.30-1",
            "0.3.30-1ubuntu1",
            "0.3.30-1ubuntu1+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-10921.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gegl",
                "binary_version": "0.3.30-1ubuntu1+esm1"
              },
              {
                "binary_name": "gir1.2-gegl-0.3",
                "binary_version": "0.3.30-1ubuntu1+esm1"
              },
              {
                "binary_name": "libgegl-0.3-0",
                "binary_version": "0.3.30-1ubuntu1+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gegl",
            "purl": "pkg:deb/ubuntu/gegl?arch=source&distro=esm-apps%2Ffocal",
            "ecosystem": "Ubuntu:Pro:20.04:LTS"
          },
          "versions": [
            "0.4.14-1",
            "0.4.18-1ubuntu1",
            "0.4.18-2",
            "0.4.18-2build1",
            "0.4.22-1",
            "0.4.22-3",
            "0.4.22-3ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-10921.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gegl",
                "binary_version": "0.4.22-3ubuntu0.1~esm1"
              },
              {
                "binary_name": "gir1.2-gegl-0.4",
                "binary_version": "0.4.22-3ubuntu0.1~esm1"
              },
              {
                "binary_name": "libgegl-0.4-0",
                "binary_version": "0.4.22-3ubuntu0.1~esm1"
              },
              {
                "binary_name": "libgegl-common",
                "binary_version": "0.4.22-3ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gegl",
            "purl": "pkg:deb/ubuntu/gegl?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1:0.4.32-1",
            "1:0.4.32-2",
            "1:0.4.34-1",
            "1:0.4.34-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-10921.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gegl",
                "binary_version": "1:0.4.34-1build1"
              },
              {
                "binary_name": "gir1.2-gegl-0.4",
                "binary_version": "1:0.4.34-1build1"
              },
              {
                "binary_name": "libgegl-0.4-0",
                "binary_version": "1:0.4.34-1build1"
              },
              {
                "binary_name": "libgegl-common",
                "binary_version": "1:0.4.34-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gegl",
            "purl": "pkg:deb/ubuntu/gegl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1:0.4.44-3ubuntu1",
            "1:0.4.46-4",
            "1:0.4.48-1",
            "1:0.4.48-2.4build1",
            "1:0.4.48-2.4build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-10921.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gegl",
                "binary_version": "1:0.4.48-2.4build2"
              },
              {
                "binary_name": "gir1.2-gegl-0.4",
                "binary_version": "1:0.4.48-2.4build2"
              },
              {
                "binary_name": "libgegl-0.4-0t64",
                "binary_version": "1:0.4.48-2.4build2"
              },
              {
                "binary_name": "libgegl-common",
                "binary_version": "1:0.4.48-2.4build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gegl",
            "purl": "pkg:deb/ubuntu/gegl?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1:0.4.58-1",
            "1:0.4.58-2",
            "1:0.4.62-1",
            "1:0.4.62-2",
            "1:0.4.62-3",
            "1:0.4.62-3.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-10921.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gegl",
                "binary_version": "1:0.4.62-3.1"
              },
              {
                "binary_name": "gir1.2-gegl-0.4",
                "binary_version": "1:0.4.62-3.1"
              },
              {
                "binary_name": "libgegl-0.4-0t64",
                "binary_version": "1:0.4.62-3.1"
              },
              {
                "binary_name": "libgegl-common",
                "binary_version": "1:0.4.62-3.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gegl",
            "purl": "pkg:deb/ubuntu/gegl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1:0.4.70-1",
            "1:0.4.70-3build1",
            "1:0.4.70-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-10921.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gegl",
                "binary_version": "1:0.4.70-4"
              },
              {
                "binary_name": "gir1.2-gegl-0.4",
                "binary_version": "1:0.4.70-4"
              },
              {
                "binary_name": "libgegl-0.4-0t64",
                "binary_version": "1:0.4.70-4"
              },
              {
                "binary_name": "libgegl-common",
                "binary_version": "1:0.4.70-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gegl",
            "purl": "pkg:deb/ubuntu/gegl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1:0.4.62-3.1",
            "1:0.4.64-1",
            "1:0.4.64-2",
            "1:0.4.66-2",
            "1:0.4.66-3",
            "1:0.4.68-1",
            "1:0.4.70-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-10921.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gegl",
                "binary_version": "1:0.4.70-1"
              },
              {
                "binary_name": "gir1.2-gegl-0.4",
                "binary_version": "1:0.4.70-1"
              },
              {
                "binary_name": "libgegl-0.4-0t64",
                "binary_version": "1:0.4.70-1"
              },
              {
                "binary_name": "libgegl-common",
                "binary_version": "1:0.4.70-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:47.786298610Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-10921"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-10921",
        "https://www.cve.org/CVERecord?id=CVE-2025-10921",
        "https://gitlab.gnome.org/GNOME/gegl/-/issues/430"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-10921",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356288,
  "published_at": "2025-10-29T20:15:00+00:00"
}