Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify libvips build without libtiff
-
DeliverySupply crafted multi-page TIFF as input
-
ExploitTrigger ImageMagick fallback loader
-
ExecutionOverflow Ysize × n_frames multiplication
-
PersistHeap over-read past buffer boundary
-
ImpactProcess crash
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer-to-buffer conversion safety
|
| Exploitation Conditions | Three conditions must be met simultaneously. First, libvips must have been compiled without libtiff support AND with ImageMagick support - enabling the |
| Impact | The CVSS 4.0 score of 6.9 (AV:L/AC:L/AT:N/PR:L) accurately reflects the constrained exploitability. The local attack vector and low-privilege requirement mean an attacker must either have direct local access or control the input to an application that passes files to the affected libvips build. The most significant risk-limiting factor - which the raw CVSS score does not fully convey - is the non-default build configuration: mainstream Linux distributions and package managers ship libvips with libtiff enabled, making the vulnerable ImageMagick fallback path unreachable in the vast majority of deployments. Availability impact is high (VA:H) because the integer overflow reliably crashes the host process, but there is no demonstrated confidentiality or code-execution impact. No KEV listing and no known POC confirm this has not been observed in active exploitation. The disparity between theoretical CVSS scope and narrow real-world attack surface is the dominant risk nuance here. |
| Exploit ScenarioDerived | An attacker with the ability to supply a crafted file - either locally or through an application that processes user-provided images with the affected libvips build - submits a multi-page TIFF whose page height and frame count are chosen to overflow the unchecked |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Integer overflow to heap over-read in libvips prior to 8.18.3 crashes the image processing process when a crafted multi-page TIFF is loaded through the ImageMagick fallback path. The unchecked multiplication out->Ysize *= magick->n_frames in vips_foreign_load_magick_parse() wraps on attacker-controlled input, producing an underflowed buffer dimension that drives a subsequent heap over-read and process crash. This flaw is limited to the uncommon build configuration where libtiff support is absent and ImageMagick support is present; no public exploit identified at time of analysis.
RemediationAI
Upgrade to libvips 8.18.3 or later, which resolves the overflow via g_uint64_checked_mul() and a VIPS_MAX_COORD bound check in vips_foreign_load_magick_parse(). The fix is confirmed in commit 05719ca3d5852acdeb6714de2e8e769c9a5d2c11 (PR #5040) and the tagged release at https://github.com/libvips/libvips/releases/tag/v8.18.3. If immediate upgrade is not feasible, the most effective compensating control for affected build configurations is to recompile libvips with libtiff support enabled, which eliminates the vulnerable code path entirely with no functional loss for standard TIFF workloads. As a second option, applications that accept user-supplied files can reject multi-page TIFFs at the application layer before passing them to libvips, though this requires reliable format fingerprinting. Standard package-manager builds are unaffected and require no action.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-680 (Integer Overflow to Buffer Overflow) describes the root cause precisely: an unchecked integer multiplication produces a value too small to describe the actual allocation, and downstream memory reads exceed the true buffer boundary. The specific site is vips_foreign_load_magick_parse() in both libvips/foreign/magick6load.c (ImageMagick 6 loader) and libvips/foreign/magick7load.c (ImageMagick 7 loader), where out->Ysize *= magick->n_frames was performed without overflow protection. A crafted multi-page TIFF supplies a page height and frame count whose product overflows the integer type, yielding a small Ysize that causes the heap over-read. The fix in v8.18.3 replaces the bare multiplication with GLib's g_uint64_checked_mul() and validates the result against VIPS_MAX_COORD, returning an error on overflow. This code path (VipsForeignLoadMagick) is only activated when libvips is compiled without native libtiff - a configuration explicitly noted as uncommon in mainstream package-manager builds, which include libtiff and bypass this fallback entirely.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
AC:H reflects the non-default build configuration prerequisite; impact is availability-only (process crash) with no demonstrated confidentiality or integrity effect.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, libvips built without libtiff support but with ImageMagick support can overflow the combined frame height while loading a crafted multi-page TIFF through VipsForeignLoadMagick. The vulnerable calculations in libvips/foreign/magick6load.c and libvips/foreign/magick7load.c multiply the per-page Ysize by n_frames without a checked bound, which can cause a heap buffer over-read and process crash. Most package-manager builds include libtiff and do not use this affected fallback path. This issue is fixed in version 8.18.3.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-63653
NVD
CVE.org
EPSS
GitHub
Exploit-DB