Description
libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, a crafted many-band TIFF processed through VipsForeignLoadTiff can evade scanline validation in libvips/iofuncs/image.c and cause an integer overflow in vips_image_sanity. The resulting buffer-region calculation can access attacker-controlled negative offsets in mmap-resident allocations, allowing reads or writes of other image data, possible data disclosure through uncompressed .v output, and likely process crashes. Remote code execution has not been demonstrated but cannot be ruled out. This issue is fixed in version 8.18.3.
Published: 2026-08-20
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An integer overflow in libvips’ image sanity function causes a heap buffer overflow that can read or write at negative offsets in mmap‑resident allocations. This flaw allows an attacker to craft a many‑band TIFF that, when processed with VipsForeignLoadTiff, gains access to other image data, potentially disclosing sensitive information or corrupting memory. The current advisory notes that the flaw likely causes crashes and could enable remote code execution, although no such execution has been demonstrated yet.

Affected Systems

The vulnerability is present in the libvips library up to and including version 8.18.2. Any deployment using libvips 8.18.2 or earlier is affected; the fix is available in libvips 8.18.3 and later.

Risk and Exploitability

The CVSS base score of 8.4 reflects a high‑severity flaw. The EPSS score is less than 1% and the issue is not yet listed in the CISA KEV catalog, indicating it may not be widely exploited at this time. Nevertheless, the likely attack vector is the processing of a specially crafted TIFF file, which an attacker can supply to any application that loads images via libvips. The integer overflow and resulting buffer overflow make the vulnerability directly exploitable if the attacker can influence the image data or if the application processes untrusted images without strict validation.

Generated by OpenCVE AI on August 31, 2026 at 13:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libvips to version 8.18.3 or later.
  • Configure the image processing pipeline to validate TIFF headers and reject anomalies such as many‑band files with suspect scanline data.
  • Monitor for crashes or abnormal memory activity during image handling and consider sandboxing image processing to limit the impact of any remaining errors.

Generated by OpenCVE AI on August 31, 2026 at 13:27 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-787
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Important


Thu, 20 Aug 2026 23:15: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, a crafted many-band TIFF processed through VipsForeignLoadTiff can evade scanline validation in libvips/iofuncs/image.c and cause an integer overflow in vips_image_sanity. The resulting buffer-region calculation can access attacker-controlled negative offsets in mmap-resident allocations, allowing reads or writes of other image data, possible data disclosure through uncompressed .v output, and likely process crashes. Remote code execution has not been demonstrated but cannot be ruled out. This issue is fixed in version 8.18.3.
Title libvips: Integer overflow leading to heap buffer overflow leading to possible attacker-controlled mmap-resident write
Weaknesses CWE-122
CWE-190
References
Metrics cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:L/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T16:20:09.170Z

Reserved: 2026-08-03T19:54:19.852Z

Link: CVE-2026-69242

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-08-21T17:16:42.450

Link: CVE-2026-69242

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-20T21:02:58Z

Links: CVE-2026-69242 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T13:30:04Z

Weaknesses