Off-by-one Error Affecting gimp:2.8/pygobject2-devel package, versions <0:2.28.7-5.module_el8.10.0+4267+35168c80


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.26% (16th 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-19511389
  • published3 Sept 2026
  • disclosed16 Jul 2026

Introduced: 16 Jul 2026

CVE-2026-58380  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 gimp:2.8/pygobject2-devel to version 0:2.28.7-5.module_el8.10.0+4267+35168c80 or higher.
This issue was patched in ALSA-2026:62507.

NVD Description

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

A flaw was found in GIMP's PNM file format parser. When parsing a specially crafted PNM file, the pnmscanner_gettoken() function writes a null terminator one byte past the end of a stack-allocated buffer due to an off-by-one error in the loop boundary check. This could lead to memory corruption, potentially resulting in denial of service or arbitrary code execution.

CVSS Base Scores

version 3.1