Description
A flaw was found in GIMP. An integer overflow vulnerability exists when processing ICO image files, specifically in the `ico_read_info` and `ico_read_icon` functions. This issue arises because a size calculation for image buffers can wrap around due to a 32-bit integer evaluation, allowing oversized image headers to bypass security checks. A remote attacker could exploit this by providing a specially crafted ICO file, leading to a buffer overflow and memory corruption, which may result in an application level denial of service.
Problem types
Integer Overflow or Wraparound
Product status
Timeline
| 2026-02-10: | Reported to Red Hat. |
| 2026-02-10: | Made public. |
Credits
Red Hat would like to thank Dhiraj Mishra for reporting this issue.
References
gitlab.gnome.org/GNOME/gimp/-/issues/15617
bugzilla.redhat.com/show_bug.cgi?id=2438428
access.redhat.com/security/cve/CVE-2026-2272
bugzilla.redhat.com/show_bug.cgi?id=2438428 (RHBZ#2438428)
gitlab.gnome.org/GNOME/gimp/-/issues/15617