# CVE-2026-58381: Gimp: gimp: double-free in read_layer_block()

- Severity: Medium 6.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 14% of CVEs (2026-11-30)
- Published: 2026-07-02T19:45:33.777Z
- Modified: 2026-11-24T21:18:30.810Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

A flaw was found in GIMP's PSP file format parser. A double-free condition occurs in the read_layer_block() function when processing a specially crafted PSP file. This could allow an attacker to cause memory corruption, potentially leading to denial of service or arbitrary code execution.

(As written by CVE List.)

## Affected

- gimp: no versions given
- gimp:2.8/gimp: no versions given
- gimp gimp: up to 3.2.1
- redhat enterprise_linux: 6.0; 7.0; 8.0; 9.0

## Every score

- redhat: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/security/cve/CVE-2026-58381> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2496166> (issue-tracking, vendor-advisory)
- <https://gitlab.gnome.org/GNOME/gimp/-/commit/b22e147b> (patch)
- <https://gitlab.gnome.org/GNOME/gimp/-/issues/16207> (issue-tracking, vendor-advisory)

## Sources

- CVE List: [CVE-2026-58381](https://www.cve.org/CVERecord?id=CVE-2026-58381), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-58381](https://nvd.nist.gov/vuln/detail/CVE-2026-58381), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-58381 · Whole record: https://cve.day/CVE-2026-58381.json · Rebuilt by cve.day 2026-11-25T22:59:27.049Z
