Skip to main content
EPSS 0.2%top 86%

CVE-2025-48798: Use After Free

0
High
VulnerabilityCVE-2025-48798cvecve-2025-48798
Published: 05/27/2025 (05/27/2025, 14:05:12 UTC)
Source: CVE Database V5

Description

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.

CVSS v3.1

Score 7.3high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected software

Affected versions
=0>=8.0.0 <8.10.0>=9.0.0 <9.8.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 01:00:59 UTC

Technical Analysis

CVE-2025-48798 is a use-after-free vulnerability in the GIMP image manipulation program when processing XCF image files. This flaw allows an attacker to craft malicious XCF files that trigger memory errors in GIMP, potentially leading to application crashes or arbitrary code execution. The vulnerability affects GIMP versions included in Red Hat Enterprise Linux 7 Extended Lifecycle Support, 8 (versions >=8.0.0 <8.10.0), and 9 (versions >=9.0.0 <9.8.0). Red Hat has issued security advisories RHSA-2025:9162 and RHSA-2025:9165 providing patches for these versions. The CVSS score of 7.3 reflects a high-severity vulnerability with local attack vector requiring low privileges and user interaction.

Potential Impact

Successful exploitation of this use-after-free vulnerability can lead to serious memory corruption in GIMP, resulting in application crashes and potentially allowing an attacker to execute arbitrary code with the privileges of the user running GIMP. The CVSS vector indicates high impact on confidentiality, integrity, and availability. However, exploitation requires local access with low privileges and user interaction (opening a malicious file). There are no known exploits in the wild currently.

Mitigation Recommendations

Red Hat has released official security updates addressing CVE-2025-48798 for affected GIMP packages in Red Hat Enterprise Linux 7 Extended Lifecycle Support, 8, and 9. Users should apply these updates promptly following Red Hat's guidance at https://access.redhat.com/articles/11258. Since patches are available and provided by the vendor, applying the official fixes is the recommended mitigation. No additional vendor-recommended mitigations or workarounds are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2025-05-26T10:51:51.496Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/errata/RHSA-2025:9162","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9165","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9308","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9309","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9310","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9314","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9315","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9316","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9501","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2025:9569","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2025-48798","vendor":"Red Hat"}]

Threat ID: 6835c887182aa0cae214dc96

Added to database: 05/27/2025, 14:13:27 UTC

Last enriched: 07/30/2026, 01:00:59 UTC

Last updated: 09/10/2026, 19:36:50 UTC

Views: 146

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses