CVE Vulnerabilities

CVE-2025-48798

Use After Free

Published: May 27, 2025 | Modified: Nov 03, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.3 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatgimp-2:2.8.22-1.el7_9.2*
Red Hat Enterprise Linux 8RedHatgimp:2.8-8100020250614205641.4c9c024f*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHatgimp:2.8-8020020250618101631.c3a0935b*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatgimp:2.8-8040020250618100956.70584597*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatgimp:2.8-8060020250618100419.6af1eaf0*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatgimp:2.8-8060020250618100419.6af1eaf0*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatgimp:2.8-8060020250618100419.6af1eaf0*
Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceRedHatgimp:2.8-8080020250623120629.0621e4ee*
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRedHatgimp:2.8-8080020250623120629.0621e4ee*
Red Hat Enterprise Linux 9RedHatgimp-2:2.99.8-4.el9_6.2*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatgimp-2:2.99.8-3.el9_0.1*
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRedHatgimp-2:2.99.8-4.el9_2.1*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatgimp-2:2.99.8-4.el9_4.1*
GimpUbuntufocal*
GimpUbuntuoracular*
GimpUbuntuupstream*

Potential Mitigations

References