{
  "threat_severity" : "Important",
  "public_date" : "2026-04-11T00:16:10Z",
  "bugzilla" : {
    "description" : "gimp: GIMP: Remote Code Execution via XPM File Parsing Integer Overflow",
    "id" : "2457530",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2457530"
  },
  "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-190",
  "details" : [ "GIMP XPM File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.\nThe specific flaw exists within the parsing of XPM files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28901.", "A flaw was found in GIMP. Remote attackers can exploit this vulnerability by tricking a user into opening a malicious XPM (X PixMap) image file. This can lead to an an integer overflow during file processing, allowing the attacker to execute arbitrary code on the affected system." ],
  "statement" : "This is an Important vulnerability in GIMP that could lead to arbitrary code execution. Exploitation requires a user to open a specially crafted XPM image file. Red Hat Enterprise Linux systems with GIMP installed are affected if users process untrusted XPM files.",
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "gimp",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Affected",
    "package_name" : "gimp",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Affected",
    "package_name" : "gimp:2.8/gimp",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Affected",
    "package_name" : "gimp",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-4154\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-4154\nhttps://gitlab.gnome.org/GNOME/gimp/-/commit/2e7ed91793792d9e980b2df4c829e9aa60459253\nhttps://www.zerodayinitiative.com/advisories/ZDI-26-221/" ],
  "name" : "CVE-2026-4154",
  "mitigation" : {
    "value" : "To mitigate this issue, users should avoid opening XPM image files from untrusted sources. On systems where GIMP is not required, the `gimp` package can be removed. Removing desktop-related packages may impact graphical environment functionality.",
    "lang" : "en:us"
  },
  "csaw" : false
}