{
  "threat_severity" : "Important",
  "public_date" : "2026-08-04T00:19:42Z",
  "bugzilla" : {
    "description" : "gimp: GIMP DDS plug-in heap-based buffer overflow via BPP mismatch in load_layer() (ddsread.c)",
    "id" : "2461726",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2461726"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-131",
  "details" : [ "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." ],
  "statement" : "This heap-based buffer overflow vulnerability in the GIMP DDS plug-in could lead to heap metadata corruption and potential code execution. The flaw is triggered when a user opens a specially crafted DDS image file. Red Hat Enterprise Linux systems with GIMP installed are affected if users process untrusted DDS files.",
  "acknowledgement" : "Red Hat would like to thank HanTul for reporting this issue.",
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-42170\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-42170" ],
  "name" : "CVE-2026-42170",
  "mitigation" : {
    "value" : "Users should avoid opening untrusted DirectDraw Surface (DDS) image files with GIMP. As a general security practice, only process files from trusted sources. If GIMP is not essential, consider removing the `gimp` package to eliminate this attack vector.",
    "lang" : "en:us"
  },
  "csaw" : false
}