CVE-2026-35591 Possible heap-based buffer overflow when decoding TIFF image containing well-crafted tile
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.
Other vulnerabilities in libvips
- CVE-2019-17534 Use after free in n/a
- CVE-2026-33327 Possible integer overflow leading to potential heap-based buffer overflow
- CVE-2026-33328 Possible integer overflow on 32-bit systems when reading GIF images
- CVE-2026-35590 Possible out-of-bounds read leading to crash when decoding well-crafted EXIF metadata
- CVE-2021-27847 Denial of service in n/a
Sources
Also known as CLEANSTART-2026-FU63155, DEBIAN-CVE-2026-35591, GHSA-523x-vhfw-6r76, UBUNTU-CVE-2026-35591.