All vulnerabilities

Servers and applications

CVE-2026-35591

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

Severity
High 7.0
Published
17 Jul 2026
Last changed
19 Aug 2026
Added to UpHeron
1 Nov 2026
Fixed in
8.18.2
Exploit chance
0.2% in the next 30 daysHigher than 8% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Heap-based buffer overflow (CWE-122)
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read some data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-523x-vhfw-6r76
Sources
NVD, Project advisories (GitHub)

Description

The tiffload operation could incorrectly determine the number of channels in a JPEG or JPEG2000-encoded tile within a TIFF image, leading to a possible buffer overflow.

Thank you to wooseokdotkim for the responsible disclosure.

From libvips/libvips's security advisory.

Workarounds

A possible workaround for those affected is to block the VipsForeignLoadTiff operation via vips_operation_block_set, which is available in most language bindings.

Workarounds as given by libvips/libvips's security advisory.

Affected software

SoftwareAffected versions
libvipsServers and applications · cpe:a:libvips:libvips
  • Every version before 8.18.2
libvipsServers and applications · github:libvips/libvips
  • Every version before 8.18.2

About libvips

A fast image processing library with low memory needs.

From its GitHub repository.
GitHub stars
11,810GitHub, 15 Nov 2026
Forks
808GitHub, 15 Nov 2026
Latest release
v8.18.7GitHub, 15 Nov 2026
Released
26 Sept 2026GitHub
License
LGPL-2.1GitHub
First published on GitHub
25 Jan 2011GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-35591
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-35591
  • GitHub Advisory Database https://github.com/advisories/GHSA-523x-vhfw-6r76
  • github.com https://github.com/libvips/libvips/security/advisories/GHSA-523x-vhfw-6r76