Bug 2497432 (CVE-2026-58385) - CVE-2026-58385 gimp: gimp: Heap buffer overflow in pvr_decode_compressed()
Summary: CVE-2026-58385 gimp: gimp: Heap buffer overflow in pvr_decode_compressed()
Keywords:
Status: NEW
Alias: CVE-2026-58385
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-06 18:56 UTC by OSIDB Bzimport
Modified: 2026-07-07 07:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-06 18:56:36 UTC
Heap buffer overflow in GIMP's PVR decoder. In pvr_decode_compressed() in file-pvr.c, the Y-axis decompression loop uses width / 2 instead of height / 2 as the bound. For crafted non-square textures where width exceeds height, writes extend past the heap buffer allocated for width * height * n_components.

- Function: pvr_decode_compressed()
- File: plug-ins/common/file-pvr.c:837-887
- Fix: https://gitlab.gnome.org/GNOME/gimp/-/commit/496e9d4f
- Upstream issue: https://gitlab.gnome.org/GNOME/gimp/-/issues/16221
- Acknowledgment: bb1abu


Note You need to log in before you can comment on or make changes to this bug.