{
  "id": "CVE-2026-112257",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-112257",
  "published_at": "2026-10-19T21:37:19.467Z",
  "title": "Gimp: gimp: heap out-of-bounds read/write in psd thumbnail loader (load_resource_1033)",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux 8",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was found in GIMP. The PSD thumbnail resource loader performs a BGR-to-RGB channel swap with a fixed 3-byte stride and does not verify that the JPEG thumbnail is RGB. A crafted grayscale PSD thumbnail can cause a heap out-of-bounds read and write in the plug-in process, leading to a crash and potentially arbitrary code execution when the victim browses or opens the file.",
  "cwe": "CWE-121",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "8100020261023073604.4c9c024f"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "2:3.0.4-4.el9_8.15"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "2:3.0.4-8.el9_9.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Enterprise Linux 8 to 8100020261023073604.4c9c024f or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 2:3.0.4-4.el9_8.15 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 2:3.0.4-8.el9_9.5 or later."
    ],
    "workarounds": [
      "Avoid opening or browsing untrusted PSD files in GIMP. If GIMP is unused, remove the gimp package."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:93975"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:95482"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:98495"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
