Bug 2497434 (CVE-2026-58387) - CVE-2026-58387 gimp: gimp: Heap buffer overflow in Seattle FilmWorks metadata parsing
Summary: CVE-2026-58387 gimp: gimp: Heap buffer overflow in Seattle FilmWorks metadata...
Keywords:
Status: NEW
Alias: CVE-2026-58387
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:59 UTC by OSIDB Bzimport
Modified: 2026-07-07 07:17 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:59:10 UTC
Heap buffer overflow write in GIMP's Seattle FilmWorks (SFW94A) loader. In load_image() in file-seattle-filmworks.c, photo_date is allocated from metadata_len[1] without verifying that a second metadata separator exists. If metadata_len[1] remains 0, a 1-byte buffer is allocated and fread() writes the full metadata span into it.

- Function: load_image()
- File: plug-ins/common/file-seattle-filmworks.c:288-314
- Fix: https://gitlab.gnome.org/GNOME/gimp/-/commit/c1263f39
- Upstream issue: https://gitlab.gnome.org/GNOME/gimp/-/issues/16230
- Acknowledgment: bb1abu


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