{"id":"CVE-2026-42170","aliases":["CVE-2026-42170"],"related":[],"kind":"vulnerability","state":"published","title":"Gimp: gimp dds plug-in heap-based buffer overflow via bpp mismatch in load_layer() (ddsread.c)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-08T15:51:23.386Z","modified":"2026-11-23T16:17:47.507Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-131"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"gimp","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"gimp","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"gimp:2.8/gimp","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"gimp","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[{"status":"affected","version":"6.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-42170","tags":["vdb-entry","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2461726","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank HanTul for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-11T01:29:56.760Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42170","url":"https://www.cve.org/CVERecord?id=CVE-2026-42170","licence":"CVE Terms of Use","modified":"2026-11-23T15:24:50.553Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42170","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42170","licence":"Public domain","modified":"2026-11-23T16:17:47.507Z"}],"updatedAt":"2026-11-25T22:59:31.915Z","epss":{"score":0.00163,"percentile":0.05775,"date":"2026-12-01T12:00:22.000Z"}}