Heap-based Buffer Overflow Affecting pygobject2-codegen package, versions <0:2.28.7-5.module+el8.10.0+1927+52edb5a0


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.03% (10th 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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ROCKY8-PYGOBJECT2CODEGEN-15745309
  • published22 Mar 2026
  • disclosed20 Feb 2026

Introduced: 20 Feb 2026

CVE-2026-0797  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 pygobject2-codegen to version 0:2.28.7-5.module+el8.10.0+1927+52edb5a0 or higher.
This issue was patched in RLSA-2026:5113.

NVD Description

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

GIMP ICO File Parsing Heap-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 ICO files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28599.

CVSS Base Scores

version 3.1