Gimp: gimp: memory corruption due to integer overflow in ico file handling
Red Hat Enterprise Linux 6 · Red Hat Enterprise Linux 7 · Red Hat Enterprise Linux 8 · Red Hat Enterprise Linux 9
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat Enterprise Linux 6 | — | No fix yet |
| Red Hat Red Hat Enterprise Linux 7 | — | No fix yet |
| Red Hat Red Hat Enterprise Linux 8 | — | No fix yet |
| Red Hat Red Hat Enterprise Linux 9 | — | No fix yet |
Original 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.