CVE-2026-106062
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Summary
A heap-based buffer overflow was found in GIMP’s DirectDraw Surface (DDS) loader. When loading a crafted DDS image, buffer sizes derived from width, height, and pitch can be computed using 32-bit arithmetic that overflows. The allocated buffer is too small for the amount of pixel data written through GEGL (CWE-787), following integer overflow in size calculations (CWE-190). This may allow heap corruption and, in the worst case, arbitrary code execution in the context of the GIMP process.
Affected Software
| Vendor | Product | Version Range | Status |
|---|
Weaknesses
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Workarounds
To mitigate this do not open DDS files from untrusted sources (CME-1311). Exploitation may be harder on hardened systems (Full RELRO/PIE, ASLR, FORTIFY_SOURCE, heap allocator protections) but the vulnerability remains.
References
- https://access.redhat.com/security/cve/CVE-2026-106062
- https://bugzilla.redhat.com/show_bug.cgi?id=2546654
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.