CVE-2025-48797: Gimp: multiple heap buffer overflows in tga parser
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.
Security readout for executives and security teams
Plain-English summary
CVE-2025-48797 is a high-severity GIMP image-parsing flaw. A malicious TGA file can trigger heap memory corruption when opened by a user, causing crashes and potentially broader compromise under the CVSS impact model. This is most urgent where staff process images from untrusted sources.
Executive priority
Treat this as a prompt patching item for image-handling workstations, not a network-wide emergency. The attack needs user interaction, but successful memory corruption in a desktop application can still create meaningful business risk.
Technical view
The flaw is reported as multiple heap buffer overflows in GIMP's TGA parser, classified as CWE-122. The CVSS 3.1 vector is local, low complexity, low privileges, and requires user interaction, with high confidentiality, integrity, and availability impact ratings.
Likely exposure
Exposure is likely on systems with affected Red Hat Enterprise Linux GIMP packages installed, especially RHEL 7 ELS, RHEL 8 AppStream gimp:2.8 streams, and RHEL 9 GIMP packages listed in the source bundle.
Exploitation context
The sources do not show CISA KEV listing or active exploitation evidence. Exploitation requires persuading a user to open a specially crafted TGA image in GIMP, so email, downloads, shared drives, and design workflows are plausible delivery paths.
Researcher notes
Evidence supports a TGA parser heap overflow in GIMP with high CVSS impact. The bundle does not provide exploit proof, patch commit details, or complete non-Red-Hat version mapping. Avoid assuming active exploitation or specific exploitability beyond the cited CVSS and description.
Mitigation direction
Apply the relevant Red Hat security advisory updates for affected RHEL releases.
Check upstream GIMP and distribution vendor guidance for non-Red Hat systems.
Limit opening TGA files from untrusted sources until systems are updated.
Use attachment filtering or sandboxed image handling for high-risk workflows.
Remove GIMP from systems where it is not operationally required.
Validation and detection
Inventory endpoints and servers for installed GIMP packages and versions.
Map installed packages to the affected RHEL products and versions in the bundle.
Verify applicable RHSA updates are installed through standard package records.
Confirm security tools flag CVE-2025-48797 as remediated after patching.
Review logs for unusual GIMP crashes after opening image files.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-122: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
5Timeline events
2ADP providers
15Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-122 · source CWE mapping
Heap-based Buffer Overflow
Heap-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.