CVE-2026-35591 Possible heap-based buffer overflow when decoding TIFF image containing well-crafted tile

High 7.0 Published Updated

A heap-based buffer overflow in libvips allows attackers to execute arbitrary code or cause denial of service via crafted TIFF images.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-35591?

CVE-2026-35591 is a high-severity memory corruption vulnerability in libvips, published on 20 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

libvips is a fast image processing library with low memory needs. The `tiffload` operation in libvips versions before and including 8.18.1 could incorrectly determine the number of channels in a JPEG or JPEG2000-encoded tile within a TIFF image, leading to a possible buffer overflow. This has been patched in version 8.18.2.

Weakness: CWE-122

Which versions are affected by CVE-2026-35591?

It affects 1 product.

Products include Libvips Libvips.

How do I fix CVE-2026-35591?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-35591 being exploited?

There is no known exploitation of CVE-2026-35591 in the wild and no public exploit code.

Sources

Also known as CLEANSTART-2026-FU63155, DEBIAN-CVE-2026-35591, GHSA-523x-vhfw-6r76, UBUNTU-CVE-2026-35591.

Is CVE-2026-35591 in your software?

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

Check your SBOMs for free