Skip to main content
EPSS 0.3%top 82%

CVE-2025-48797: Heap-based Buffer Overflow

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

Description

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.

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:48 UTC

Technical Analysis

CVE-2025-48797 is a heap-based buffer overflow vulnerability in the TGA parser component of GIMP. When a user opens a maliciously crafted TGA image file, GIMP may perform unsafe memory operations leading to heap buffer overflows. This can result in application crashes and potentially allow an attacker to execute arbitrary code or cause denial of service. The vulnerability is present in GIMP versions included in Red Hat Enterprise Linux 7 Extended Lifecycle Support, versions >=8.0.0 and <8.10.0, and versions >=9.0.0 and <9.8.0. Red Hat has issued security advisories RHSA-2025:9162 and RHSA-2025:9165 providing patches for affected versions. The CVSS vector indicates the attack requires local access with low privileges and user interaction, but can lead to high confidentiality, integrity, and availability impact.

Potential Impact

Successful exploitation of this vulnerability can cause GIMP to crash and may lead to arbitrary code execution or denial of service due to heap buffer overflow. The CVSS score of 7.3 reflects high impact on confidentiality, integrity, and availability. The attack vector is local with low complexity and requires user interaction (opening a crafted TGA file). There are no known exploits in the wild currently.

Mitigation Recommendations

Red Hat has released official security updates that fix this vulnerability. Users should apply the updates provided in advisories RHSA-2025:9162 for Red Hat Enterprise Linux 9 and RHSA-2025:9165 for Red Hat Enterprise Linux 8. Details and instructions for applying these updates are available at https://access.redhat.com/articles/11258. Applying these patches will remediate the heap buffer overflow in the GIMP TGA parser. No additional mitigation steps are required beyond applying the official fixes.

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-48797","vendor":"Red Hat"}]

Threat ID: 6835c887182aa0cae214dc94

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

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

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

Views: 144

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