CVE Vulnerabilities

CVE-2025-48798

Use After Free

Published: May 27, 2025 | Modified: Jul 30, 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

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

Name Vendor Start Version End Version
Red Hat Enterprise Linux 7 Extended Lifecycle Support RedHat gimp-2:2.8.22-1.el7_9.2 *
Red Hat Enterprise Linux 8 RedHat gimp:2.8-8100020250614205641.4c9c024f *
Red Hat Enterprise Linux 8.2 Advanced Update Support RedHat gimp:2.8-8020020250618101631.c3a0935b *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat gimp:2.8-8040020250618100956.70584597 *
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support RedHat gimp:2.8-8060020250618100419.6af1eaf0 *
Red Hat Enterprise Linux 8.6 Telecommunications Update Service RedHat gimp:2.8-8060020250618100419.6af1eaf0 *
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions RedHat gimp:2.8-8060020250618100419.6af1eaf0 *
Red Hat Enterprise Linux 8.8 Telecommunications Update Service RedHat gimp:2.8-8080020250623120629.0621e4ee *
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions RedHat gimp:2.8-8080020250623120629.0621e4ee *
Red Hat Enterprise Linux 9 RedHat gimp-2:2.99.8-4.el9_6.2 *
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions RedHat gimp-2:2.99.8-3.el9_0.1 *
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions RedHat gimp-2:2.99.8-4.el9_2.1 *
Red Hat Enterprise Linux 9.4 Extended Update Support RedHat gimp-2:2.99.8-4.el9_4.1 *
Gimp Ubuntu focal *
Gimp Ubuntu oracular *
Gimp Ubuntu upstream *

Potential Mitigations

References