CVE-2026-35591
Description
A flaw was found in libvips, an image processing library. The tiffload operation, which handles loading TIFF images, could incorrectly identify the number of channels in embedded JPEG or JPEG2000 tiles. This vulnerability may allow a local attacker with low privileges to trigger a buffer overflow, potentially leading to data corruption, system instability, or the disclosure of limited sensitive information.
Statement
This flaw is rated as Important. A local attacker with low privileges could exploit a buffer overflow in libvips when processing a specially crafted TIFF image containing malformed JPEG or JPEG2000-encoded tiles. This could lead to application crashes, data corruption, or potentially arbitrary code execution, significantly impacting the integrity and availability of systems that handle untrusted image files.
Understanding the Weakness (CWE)
Integrity,Availability,Confidentiality
Technical Impact: DoS: Crash, Exit, or Restart; Execute Unauthorized Code or Commands; Read Memory; Modify Memory
If the incorrect calculation is used in the context of memory allocation, then the software may create a buffer that is smaller or larger than expected. If the allocated buffer is smaller than expected, this could lead to an out-of-bounds read or write (CWE-119), possibly causing a crash, allowing arbitrary code execution, or exposing sensitive data.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.