Integer Overflow or Wraparound Affecting pygtk2 package, versions <0:2.24.0-25.module+el8.9.0+21228+8e80d31d


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.3% (22nd 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-CENTOS8-PYGTK2-18365840
  • published28 Jul 2026
  • disclosed7 Jul 2026

Introduced: 7 Jul 2026

CVE-2026-66758  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Centos:8 pygtk2 to version 0:2.24.0-25.module+el8.9.0+21228+8e80d31d or higher.

NVD Description

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

A flaw was found in the file-fits plugin in GIMP. When processing a FITS image file, the plugin calculates memory allocation sizes using signed 32-bit integers for width and height. If a crafted file sets both values to large values, their product exceeds 2^31 and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when cfitsio subsequently writes a full row of pixels in the buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.

CVSS Base Scores

version 3.1