{
  "id": "CVE-2026-58379",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-58379",
  "published_at": "2026-07-03T18:29:22.302Z",
  "title": "Gimp: gimp: heap buffer overflow in read_channel_data()",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux",
  "cvss": {
    "score": 7.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/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's Paint Shop Pro (PSP) file format parser. This heap buffer overflow vulnerability allows a remote attacker to cause arbitrary code execution or a denial of service (DoS) by tricking a user into opening a specially crafted PSP image file. The vulnerability occurs because the software incorrectly calculates buffer sizes when processing low bit-depth images, leading to an overwrite of adjacent memory.",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:gimp:gimp:3.2.1:*:*:*:*:*:*:*",
    "cpe:2.3:a:redhat:enterprise_linux_update_services_for_sap_solutions:9.4:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux_eus:9.6:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "2:3.0.4-4.el9_8.5"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "2:2.99.8-4.el9_2.7"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "2:2.99.8-4.el9_4.19"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "2:2.99.8-4.el9_6.20"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Enterprise Linux 9 to 2:3.0.4-4.el9_8.5 or later.",
      "Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 2:2.99.8-4.el9_2.7 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 2:2.99.8-4.el9_4.19 or later.",
      "Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 2:2.99.8-4.el9_6.20 or later."
    ],
    "workarounds": [
      "To mitigate this vulnerability, users should avoid opening untrusted Paint Shop Pro (PSP) image files with GIMP. As a general security practice, it is recommended to only process image files from trusted sources. If GIMP is not essential, consider removing the package to eliminate the attack surface."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:38496"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:73768"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:80509"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:93589"
      },
      {
        "kind": "Patch",
        "url": "https://gitlab.gnome.org/GNOME/gimp/-/commit/b630f167"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
