# Gimp: multiple heap buffer overflows in tga parser

CVE record · `CVE-2025-48797`

- **Identifiers:** `CVE-2025-48797`
- **State:** Confirmed
- **Severity:** CVSS 7.3 High
- **Critical:** No
- **CNA:** redhat
- **Weakness (CWE):** [CWE-122](https://cwe.mitre.org/data/definitions/122.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Red Hat Enterprise Linux 7 Extended Lifecycle Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-7-extended-lifecycle-support.md) · [Red Hat Enterprise Linux 8](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8.md) · [Red Hat Enterprise Linux 8.2 Advanced Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-2-advanced-update-support.md) · [Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-4-advanced-mission-critical-update-support.md) · [Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-6-advanced-mission-critical-update-support.md) · [Red Hat Enterprise Linux 8.6 Telecommunications Update Service](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-6-telecommunications-update-service.md) · [Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-6-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 8.8 Telecommunications Update Service](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-8-telecommunications-update-service.md) · [Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-8-8-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 9](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9.md) · [Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9-0-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9-2-update-services-for-sap-solutions.md) · [Red Hat Enterprise Linux 9.4 Extended Update Support](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-9-4-extended-update-support.md) · [Red Hat Enterprise Linux 6](https://agentprime.io/advisories/technology/red-hat-enterprise-linux-6.md)
- **Published:** 27 May 2025
- **Updated:** 4 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: redhat) at 27 May 2025, 14:04 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Not given. Product: Not given.
  - affected: `before 3.0.0` (semver)
  - Other versions: unaffected
  - Package name: `gimp`
  - Collection: `https://www.gimp.org/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 7 Extended Lifecycle Support.
  - unaffected: `2:2.8.22-1.el7_9.2 to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.
  - unaffected: `8100020250614205641.4c9c024f to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp:2.8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.2 Advanced Update Support.
  - unaffected: `8020020250618101631.c3a0935b to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp:2.8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support.
  - unaffected: `8040020250618100956.70584597 to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp:2.8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support.
  - unaffected: `8060020250618100419.6af1eaf0 to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp:2.8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.6 Telecommunications Update Service.
  - unaffected: `8060020250618100419.6af1eaf0 to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp:2.8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions.
  - unaffected: `8060020250618100419.6af1eaf0 to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp:2.8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.8 Telecommunications Update Service.
  - unaffected: `8080020250623120629.0621e4ee to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp:2.8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions.
  - unaffected: `8080020250623120629.0621e4ee to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp:2.8`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.
  - unaffected: `2:2.99.8-4.el9_6.2 to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions.
  - unaffected: `2:2.99.8-3.el9_0.1 to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions.
  - unaffected: `2:2.99.8-4.el9_2.1 to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 9.4 Extended Update Support.
  - unaffected: `2:2.99.8-4.el9_4.1 to before *` (rpm)
  - Other versions: affected
  - Package name: `gimp`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`
- Vendor: Red Hat. Product: Red Hat Enterprise Linux 6.
  - No versions given
  - Other versions: unknown
  - Package name: `gimp`
  - Collection: `https://access.redhat.com/downloads/content/package-browser/`

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.3 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`, from CNA (redhat)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0028, the 20th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 May 2025, 14:04 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-48797)
- 27 May 2025, 14:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-48797)

## Sources

- [CVE List: CVE-2025-48797](https://www.cve.org/CVERecord?id=CVE-2025-48797)
- [NVD: CVE-2025-48797](https://nvd.nist.gov/vuln/detail/CVE-2025-48797)

### References from the CNA

- <https://access.redhat.com/errata/RHSA-2025:9162> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:9165> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:9308> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:9309> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:9310> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:9314> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:9315> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:9316> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:9501> (vendor-advisory, redhat)
- <https://access.redhat.com/errata/RHSA-2025:9569> (vendor-advisory, redhat)
- <https://access.redhat.com/security/cve/CVE-2025-48797> (vdb-entry, redhat)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2368558> (issue-tracking, redhat)
- <https://gitlab.gnome.org/GNOME/gimp/-/issues/11822>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-48797>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-48797/>. Everything for agents: <https://agentprime.io/llms.txt>.
