CVE-2025-48798
Gimp: multiple use after free in xcf parser
A flaw was found in GIMP when processing XCF image files. If a user opens one of these image files that has been specially crafted by an attacker, GIMP can be tricked into making serious memory errors, potentially leading to crashes and causing use-after-free issues.
Fixes and workarounds
Workaround
No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.
Source: CNA: redhatAffected products and versions
| Product | Versions | Authority |
|---|---|---|
gimp
https://www.gimp.org/ |
≥ 0; < 3.0.0 (affected, semver)
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support Red Hat gimp
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:2.8.22-1.el7_9.2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat gimp:2.8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8100020250614205641.4c9c024f; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.2 Advanced Update Support Red Hat gimp:2.8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8020020250618101631.c3a0935b; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Red Hat gimp:2.8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8040020250618100956.70584597; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Red Hat gimp:2.8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8060020250618100419.6af1eaf0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service Red Hat gimp:2.8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8060020250618100419.6af1eaf0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Red Hat gimp:2.8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8060020250618100419.6af1eaf0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service Red Hat gimp:2.8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8080020250623120629.0621e4ee; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Red Hat gimp:2.8
https://access.redhat.com/downloads/content/package-browser/ |
≥ 8080020250623120629.0621e4ee; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat gimp
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:2.99.8-4.el9_6.2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Red Hat gimp
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:2.99.8-3.el9_0.1; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Red Hat gimp
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:2.99.8-4.el9_2.1; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.4 Extended Update Support Red Hat gimp
https://access.redhat.com/downloads/content/package-browser/ |
≥ 2:2.99.8-4.el9_4.1; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 6 Red Hat gimp
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unknown |
CNA: redhat |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.3 high |
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | CNA: redhat |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2025:9162CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:9165CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:9308CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:9309CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:9310CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:9314CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:9315CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:9316CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:9501CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:9569CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-48798CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2368557CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/gimp/-/issues/11822CNA: redhat
- https://lists.debian.org/debian-lts-announce/2025/10/msg00022.htmlADP: CVE
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.