Description
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.
Published: 2026-08-20
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability arises from an integer overflow during the loading of multi‑page TIFF images when libvips is built without libtiff support yet retains ImageMagick support. The code that multiplies the per‑page Y‑size by the number of frames lacks bounds checking, allowing a crafted TIFF to overflow the total frame height. The overflow results in a heap buffer over‑read and a process crash, providing an attacker with a denial‑of‑service vector.

Affected Systems

The flaw exists in libvips library versions prior to 8.18.3 when built without libtiff support but with ImageMagick support. Most package‑manager builds include libtiff and hence do not use this fallback path, so the risk is limited to custom or older builds that rely on the ImageMagick path. The fix is released in libvips 8.18.3.

Risk and Exploitability

The CVSS score of 6.9 reflects moderate severity, and the EPSS score is < 1%, indicating a very low probability of exploitation. The flaw is not listed in the CISA KEV catalog. The attack requires the ability to provide a malicious multi‑page TIFF to an application that uses the affected libvips path; this could be achieved remotely in services that process user‑supplied images or locally by a user with write access to the image source.

Generated by OpenCVE AI on August 31, 2026 at 14:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libvips to version 8.18.3 or later.
  • Rebuild applications that link to libvips so they use the patched library.
  • If an upgrade cannot be made immediately, rebuild libvips with libtiff support enabled or disable the ImageMagick fallback path.

Generated by OpenCVE AI on August 31, 2026 at 14:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H'}

threat_severity

Moderate


Tue, 25 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Libvips
Libvips libvips
Vendors & Products Libvips
Libvips libvips

Thu, 20 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Description 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.
Title libvips: Possible integer overflow when reading multi-page TIFF images via ImageMagick
Weaknesses CWE-680
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-25T15:25:19.181Z

Reserved: 2026-08-04T21:48:08.612Z

Link: CVE-2026-70651

cve-icon Vulnrichment

Updated: 2026-08-25T15:25:14.776Z

cve-icon NVD

Status : Received

Published: 2026-08-20T21:17:08.120

Modified: 2026-08-25T16:17:08.270

Link: CVE-2026-70651

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-20T21:05:38Z

Links: CVE-2026-70651 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T15:00:07Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

  • CWE-680

    Integer Overflow to Buffer Overflow