Incorrect Calculation of Buffer Size Affecting gimp-libs package, versions *


Severity

Recommended
0.0
high
0
10

Based on CentOS 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-CENTOS8-GIMPLIBS-18603528
  • 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 Centos:8 gimp-libs.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gimp-libs package and not the gimp-libs package as distributed by Centos. See How to fix? for Centos: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