cve.bz

CVE-2025-48797 Heap-based Buffer Overflow

7.3 highEPSS 0.3%Fix available

High (7.3). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in GIMP when processing certain TGA 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 a heap buffer overflow.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-05-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 2:2.8.22-1.el7_9.2
  • Red Hat Red Hat Enterprise Linux 8: fixed in 8100020250614205641.4c9c024f
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 8020020250618101631.c3a0935b
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 8040020250618100956.70584597
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: fixed in 8060020250618100419.6af1eaf0
  • Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service: fixed in 8060020250618100419.6af1eaf0
  • Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: fixed in 8060020250618100419.6af1eaf0
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service: fixed in 8080020250623120629.0621e4ee
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-48797 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-48797?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-48797?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-48797 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 7 Extended Lifecycle Support2:2.8.22-1.el7_9.2
Red Hat Enterprise Linux 88100020250614205641.4c9c024f
Red Hat Enterprise Linux 8.2 Advanced Update Support8020020250618101631.c3a0935b
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support8040020250618100956.70584597
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support8060020250618100419.6af1eaf0
Red Hat Enterprise Linux 8.6 Telecommunications Update Service8060020250618100419.6af1eaf0
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions8060020250618100419.6af1eaf0
Red Hat Enterprise Linux 8.8 Telecommunications Update Service8080020250623120629.0621e4ee
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions8080020250623120629.0621e4ee
Red Hat Enterprise Linux 92:2.99.8-4.el9_6.2
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions2:2.99.8-3.el9_0.1
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions2:2.99.8-4.el9_2.1
Red Hat Enterprise Linux 9.4 Extended Update Support2:2.99.8-4.el9_4.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11gimp2.10.22-4+deb11u3DLA-4342-1
Debian12gimp2.10.34-1+deb12u3DEBIAN-CVE-2025-48797 DSA-5939-1
Debian13, 14gimp3.0.0~RC1-4DEBIAN-CVE-2025-48797
UbuntuPro:16.04:LTSgimp2.8.16-1ubuntu1.1+esm2UBUNTU-CVE-2025-48797
UbuntuPro:18.04:LTSgimp2.8.22-1ubuntu0.1~esm2UBUNTU-CVE-2025-48797
UbuntuPro:20.04:LTSgimp2.10.18-1ubuntu0.1+esm2UBUNTU-CVE-2025-48797
UbuntuPro:22.04:LTSgimp2.10.30-1ubuntu0.1+esm2UBUNTU-CVE-2025-48797
UbuntuPro:24.04:LTSgimp2.10.36-3ubuntu0.24.04.1+esm2UBUNTU-CVE-2025-48797
Red Hatenterprise_linux:8::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-26.module+el8.10.0+23269+4b36efb0.2RHSA-2025:9165
Red Hatenterprise_linux:8::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-5.module+el8.10.0+22676+becd68d6RHSA-2025:9165
Red Hatenterprise_linux:8::appstreampygtk2, pygtk2-doc, pygtk2-devel and 3 more0:2.24.0-25.module+el8.9.0+21228+8e80d31dRHSA-2025:9165
Red Hatenterprise_linux:8::appstreampython2-cairo, python2-pycairo, python2-cairo-devel and 2 more0:1.16.3-7.module+el8.10.0+22676+becd68d6RHSA-2025:9165
Red Hatenterprise_linux:9::appstreamgimp, gimp-libs, gimp-debuginfo and 3 more2:2.99.8-4.el9_6.2RHSA-2025:9162
Red Hatrhel_aus:8.2::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-16.module+el8.2.0+23304+5410b5dc.3RHSA-2025:9310
Red Hatrhel_aus:8.2::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-4.module+el8+2760+3d7d61b2RHSA-2025:9310
Red Hatrhel_aus:8.2::appstreampygtk2, pygtk2-doc, pygtk2-devel and 3 more0:2.24.0-24.module+el8+2760+3d7d61b2RHSA-2025:9310
Red Hatrhel_aus:8.2::appstreampython2-cairo, python2-pycairo, python2-cairo-devel and 2 more0:1.16.3-6.module+el8+2760+3d7d61b2RHSA-2025:9310
Red Hatrhel_aus:8.4::appstreamgimp, gimp-libs, gimp-devel and 5 more2:2.8.22-16.module+el8.4.0+23302+04229f42.2RHSA-2025:9308
Red Hatrhel_aus:8.4::appstreampygobject2, pygobject2-doc, pygobject2-devel and 3 more0:2.28.7-4.module+el8+2760+3d7d61b2RHSA-2025:9308
Red Hatrhel_aus:8.4::appstreampygtk2, pygtk2-doc, pygtk2-devel and 3 more0:2.24.0-25.module+el8.4.0+9382+ff08b506RHSA-2025:9308
13 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Workstation Extension 15 SP6 and 1 moregimp2.10.30-150400.3.20.1SUSE-SU-2025:02164-1
openSUSELeap 15.6gimp2.10.30-150400.3.20.1SUSE-SU-2025:02164-1
AlmaLinux8gimp, gimp-libs, gimp-devel and 1 more2:2.8.22-26.module_el8.10.0+4017+5eb23531.2ALSA-2025:9165
AlmaLinux8pygobject2, pygobject2-doc, pygobject2-devel and 1 more2.28.7-5.module_el8.10.0+3952+571e801cALSA-2025:9165
AlmaLinux8pygtk2, pygtk2-doc, pygtk2-devel and 1 more2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2025:9165
AlmaLinux8python2-cairo, python2-cairo-devel1.16.3-7.module_el8.10.0+3952+571e801cALSA-2025:9165
AlmaLinux9gimp, gimp-libs2:2.99.8-4.el9_6.2ALSA-2025:9162
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1927+52edb5a0RLSA-2025:9165
Rocky Linux8gimp2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2RLSA-2025:9165
Rocky Linux8pygobject20:2.28.7-5.module+el8.10.0+1927+52edb5a0RLSA-2025:9165
Rocky Linux8pygtk20:2.24.0-25.module+el8.9.0+1723+9bc93544RLSA-2025:9165
Rocky Linux8python2-pycairo0:1.16.3-7.module+el8.10.0+1927+52edb5a0RLSA-2025:9165
Rocky Linux9gimp2:2.99.8-4.el9_6.2RLSA-2025:9162

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Currently no mitigation is available for this vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportgimp-2:2.8.22-1.el7_9.2Fixed 2025-06-24RHSA-2025:9501
Red Hat Enterprise Linux 8gimp:2.8-8100020250614205641.4c9c024fFixed 2025-06-17RHSA-2025:9165
Red Hat Enterprise Linux 8.2 Advanced Update Supportgimp:2.8-8020020250618101631.c3a0935bFixed 2025-06-23RHSA-2025:9310
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgimp:2.8-8040020250618100956.70584597Fixed 2025-06-23RHSA-2025:9308
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgimp:2.8-8060020250618100419.6af1eaf0Fixed 2025-06-23RHSA-2025:9309
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicegimp:2.8-8060020250618100419.6af1eaf0Fixed 2025-06-23RHSA-2025:9309
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsgimp:2.8-8060020250618100419.6af1eaf0Fixed 2025-06-23RHSA-2025:9309
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicegimp:2.8-8080020250623120629.0621e4eeFixed 2025-06-24RHSA-2025:9569
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsgimp:2.8-8080020250623120629.0621e4eeFixed 2025-06-24RHSA-2025:9569
Red Hat Enterprise Linux 9gimp-2:2.99.8-4.el9_6.2Fixed 2025-06-17RHSA-2025:9162
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsgimp-2:2.99.8-3.el9_0.1Fixed 2025-06-23RHSA-2025:9315
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgimp-2:2.99.8-4.el9_2.1Fixed 2025-06-23RHSA-2025:9314
Red Hat Enterprise Linux 9.4 Extended Update Supportgimp-2:2.99.8-4.el9_4.1Fixed 2025-06-23RHSA-2025:9316
Red Hat Enterprise Linux 6gimpOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-48797.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON