Incorrect Calculation of Buffer Size Affecting gimp:2.8/pygobject2-devel package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.19% (9th 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-RHEL8-GIMP-18603535
  • published10 Aug 2026
  • disclosed4 Aug 2026

Introduced: 4 Aug 2026

NewCVE-2026-42170  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 gimp:2.8/pygobject2-devel.

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 RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

A heap-based buffer overflow vulnerability exists in the GIMP DDS (DirectDraw Surface) file parser. When a crafted DDS file declares a D3D9 pixel format but sets a lower bits-per-pixel (bpp) value in the header, the loader allocates an undersized heap buffer. Subsequent pixel data consumption at the real format's stride causes a write past the heap buffer boundary, leading to heap metadata corruption and potential code execution.

CVSS Base Scores

version 3.1