CVE-2026-69242 PUBLISHED

libvips: Integer overflow leading to heap buffer overflow leading to possible attacker-controlled mmap-resident write

Assigner: GitHub_M
Reserved: 03.08.2026 Published: 20.08.2026 Updated: 20.08.2026

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.

Metrics

CVSS 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
CVSS Score: 8.4

Product Status

Vendor libvips
Product libvips
Versions
  • Version < 8.18.3 is affected

References

Problem Types

  • CWE-122: Heap-based Buffer Overflow CWE
  • CWE-190: Integer Overflow or Wraparound CWE