CVE-2026-2272 Gimp: gimp: memory corruption due to integer overflow in ico file handling

Medium 4.3 Published Updated

A remote attacker can cause a denial of service in GIMP by providing a specially crafted ICO file that triggers an integer overflow and memory corruption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-2272?

CVE-2026-2272 is a medium-severity vulnerability in Gimp Gimp, published on 26 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-190

Which versions are affected by CVE-2026-2272?

It affects 2 products.

Products include Gimp Gimp, Redhat Enterprise Linux.

How do I fix CVE-2026-2272?

Apply the vendor's patch.

Is CVE-2026-2272 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-2272 exists.

All Gimp Gimp vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-2272, GHSA-8g7q-m2xj-67ch, UBUNTU-CVE-2026-2272.

Is CVE-2026-2272 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free