Stack-based Buffer Overflow Affecting gimp:2.8/pygtk2-devel package, versions <0:2.24.0-25.module_el8.9.0+3725+d1441900


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.77% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-GIMP-14201554
  • published6 Dec 2025
  • disclosed24 Nov 2025

Introduced: 24 Nov 2025

CVE-2025-10925  (opens in a new tab)
CWE-121  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 gimp:2.8/pygtk2-devel to version 0:2.24.0-25.module_el8.9.0+3725+d1441900 or higher.
This issue was patched in ALSA-2025:22417.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gimp:2.8/pygtk2-devel package and not the gimp:2.8/pygtk2-devel package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

GIMP ILBM File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of ILBM files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27793.

CVSS Base Scores

version 3.1