CVE-2025-48796: Stack-based Buffer Overflow
A flaw was found in GIMP. The GIMP ani_load_image() function is vulnerable to a stack-based overflow. If a user opens.ANI files, GIMP may be used to store more information than the capacity allows. This flaw allows a malicious ANI file to trigger arbitrary code execution.
AI Analysis
Technical Summary
CVE-2025-48796 is a stack-based buffer overflow vulnerability in the GIMP image manipulation program, specifically in the ani_load_image() function. When a user opens a malicious ANI file, the function may write more data to the stack than it can hold, leading to a buffer overflow. This can allow an attacker to execute arbitrary code with limited privileges, requiring user interaction to trigger. The vulnerability affects Red Hat Enterprise Linux 6, as indicated by the affected product information. The CVSS v3.1 vector is AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, reflecting local attack vector, low complexity, low privileges, user interaction required, unchanged scope, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation of this vulnerability can lead to arbitrary code execution with the privileges of the user running GIMP, potentially compromising system confidentiality, integrity, and availability. The attack requires local access and user interaction (opening a malicious ANI file). There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2025-48796 for current remediation guidance. No explicit patch or workaround information is provided in the advisory content. Until a patch is available, avoid opening untrusted ANI files with GIMP on affected systems.
CVE-2025-48796: Stack-based Buffer Overflow
Description
A flaw was found in GIMP. The GIMP ani_load_image() function is vulnerable to a stack-based overflow. If a user opens.ANI files, GIMP may be used to store more information than the capacity allows. This flaw allows a malicious ANI file to trigger arbitrary code execution.
CVSS v3.1
Score 7.3high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-48796 is a stack-based buffer overflow vulnerability in the GIMP image manipulation program, specifically in the ani_load_image() function. When a user opens a malicious ANI file, the function may write more data to the stack than it can hold, leading to a buffer overflow. This can allow an attacker to execute arbitrary code with limited privileges, requiring user interaction to trigger. The vulnerability affects Red Hat Enterprise Linux 6, as indicated by the affected product information. The CVSS v3.1 vector is AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, reflecting local attack vector, low complexity, low privileges, user interaction required, unchanged scope, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation of this vulnerability can lead to arbitrary code execution with the privileges of the user running GIMP, potentially compromising system confidentiality, integrity, and availability. The attack requires local access and user interaction (opening a malicious ANI file). There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2025-48796 for current remediation guidance. No explicit patch or workaround information is provided in the advisory content. Until a patch is available, avoid opening untrusted ANI files with GIMP on affected systems.
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/security/cve/CVE-2025-48796","vendor":"Red Hat"}]
Threat ID: 6835c887182aa0cae214dc92
Added to database: 05/27/2025, 14:13:27 UTC
Last enriched: 07/30/2026, 01:03:14 UTC
Last updated: 09/10/2026, 19:36:50 UTC
Views: 114
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.