CVE-2026-69242

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

State
Published
Severity
8.4 High
Published
Aug 20, 2026
Updated
Aug 21, 2026
Reserved
Aug 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.4 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:L/SI:H/SA:HGitHub_M

Weaknesses

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

Affected Products

ProductVersions
libvipslibvips
  • < 8.18.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.