{
  "id": "CVE-2026-40915",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-40915",
  "published_at": "2026-04-15T18:58:52.059Z",
  "title": "Gimp: gimp: heap buffer overflow due to integer overflow in fits image loader",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "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. A remote attacker could exploit an integer overflow vulnerability in the FITS image loader by providing a specially crafted FITS file. This integer overflow leads to a zero-byte memory allocation, which is then subjected to a heap buffer overflow when processing pixel data. Successful exploitation could result in a denial of service (DoS) or potentially arbitrary code execution.",
  "cwe": "CWE-190",
  "cpes": [
    "cpe:2.3:a:gimp:gimp:-:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.5,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "workarounds": [
      "Users should avoid opening untrusted FITS image files with GIMP. If GIMP is not required, consider removing the `gimp` package to eliminate the attack surface. This can be done using the system's package manager, for example: `sudo dnf remove gimp`. Removing GIMP may impact other applications that depend on it."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
