Vulnerability · Published May 27, 2025 · Assigned by redhat

CVE-2025-48797Gimp: multiple heap buffer overflows in tga parser

High 7.3

In plain English

A high-severity heap buffer overflow in gimp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.3%top 79.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8gimp2:2.8.22-26.module_el8.10.0+4017+5eb23531.2ALSA-2025:9165
AlmaLinux:9gimp2:2.99.8-4.el9_6.2ALSA-2025:9162
AlmaLinux:8gimp-devel2:2.8.22-26.module_el8.10.0+4017+5eb23531.2ALSA-2025:9165
AlmaLinux:8gimp-devel-tools2:2.8.22-26.module_el8.10.0+4017+5eb23531.2ALSA-2025:9165
AlmaLinux:8gimp-libs2:2.8.22-26.module_el8.10.0+4017+5eb23531.2ALSA-2025:9165
AlmaLinux:9gimp-libs2:2.99.8-4.el9_6.2ALSA-2025:9162
AlmaLinux:8pygobject22.28.7-5.module_el8.10.0+3952+571e801cALSA-2025:9165
AlmaLinux:8pygobject2-codegen2.28.7-5.module_el8.10.0+3952+571e801cALSA-2025:9165
AlmaLinux:8pygobject2-devel2.28.7-5.module_el8.10.0+3952+571e801cALSA-2025:9165
AlmaLinux:8pygobject2-doc2.28.7-5.module_el8.10.0+3952+571e801cALSA-2025:9165
AlmaLinux:8pygtk22.24.0-25.module_el8.9.0+3725+d1441900ALSA-2025:9165
AlmaLinux:8pygtk2-codegen2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2025:9165
AlmaLinux:8pygtk2-devel2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2025:9165
AlmaLinux:8pygtk2-doc2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2025:9165
AlmaLinux:8python2-cairo1.16.3-7.module_el8.10.0+3952+571e801cALSA-2025:9165
AlmaLinux:8python2-cairo-devel1.16.3-7.module_el8.10.0+3952+571e801cALSA-2025:9165
Debian:12gimp2.10.34-1+deb12u3DSA-5939-1
Debian:12gimp2.10.34-1+deb12u3DEBIAN-CVE-2025-48797
Debian:13gimp3.0.0~RC1-4DEBIAN-CVE-2025-48797
Debian:14gimp3.0.0~RC1-4DEBIAN-CVE-2025-48797
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2RLSA-2025:9165
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+1927+52edb5a0RLSA-2025:9165
Rocky Linux:9gimp2:2.99.8-4.el9_6.2RLSA-2025:9162
Rocky Linux:8pygobject20:2.28.7-5.module+el8.10.0+1927+52edb5a0RLSA-2025:9165
Rocky Linux:8pygtk20:2.24.0-25.module+el8.9.0+1723+9bc93544RLSA-2025:9165
Rocky Linux:8python2-pycairo0:1.16.3-7.module+el8.10.0+1927+52edb5a0RLSA-2025:9165

Affected products (as reported)

Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

References