CVE-2026-35591 Details
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.
A heap-based buffer overflow vulnerability has been identified in libvips, a fast image processing library, in versions through 8.18.1. The issue arises in the 'tiffload' operation, where the library could incorrectly assess the number of channels in JPEG or JPEG2000-encoded tiles within TIFF images. This miscalculation can lead to a buffer overflow.
Users can update to libvips version 8.18.2 or later, where this vulnerability has been patched. Alternatively, the 'VipsForeignLoadTiff' operation can be blocked using 'vips_operation_block_set', available in most language bindings.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/libvips/libvips/commit/df044e409a0db77c980fa1a9f86a13fbfb2dc8fe | [email protected] | Patch |
| https://github.com/libvips/libvips/pull/4973 | [email protected] | Issue TrackingPatch |
| https://github.com/libvips/libvips/security/advisories/GHSA-523x-vhfw-6r76 | [email protected] | Vendor AdvisoryPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libvips libvips | < 8.18.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 19, 2026 | Initial Analysis | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | New CVE Received | [email protected] |