CVE-2025-29769

HIGH EPSS 15.8%
Published Apr 7, 20251y ago · Modified Jun 17, 20261w ago
8.5 CVSS 4.0
High
Find Similar
Published Apr 7, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

Description

libvips is a demand-driven, horizontally threaded image processing library. The heifsave operation could incorrectly determine the presence of an alpha channel in an input when it was not possible to determine the colour interpretation, known internally within libvips as "multiband". There aren't many ways to create a "multiband" input, but it is possible with a well-crafted TIFF image. If a "multiband" TIFF input image had 4 channels and HEIF-based output was requested, this led to libvips creating a 3 channel HEIF image without an alpha channel but then attempting to write 4 channels of data. This caused a heap buffer overflow, which could crash the process. This vulnerability is fixed in 8.16.1.

CVSS Details

Base Score
8.5
Exploitability
Impact
Vector string
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
15.8% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-122

Affected Products 2

VendorProductVersionRange
libvipslibvips* <8.16.1
debiandebian_linux11.0any

References 6

  • github.com https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2
    Patch
  • github.com https://github.com/libvips/libvips/pull/4392
    Issue Tracking
  • github.com https://github.com/libvips/libvips/pull/4394
    Issue Tracking
  • github.com https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm
    PatchVendor Advisory
  • issues.oss-fuzz.com https://issues.oss-fuzz.com/issues/396460413
    ExploitIssue TrackingThird Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/04/msg00044.html
    Mailing ListThird Party Advisory

Remediation

  • github.com https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2
    Patch
  • github.com https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm
    PatchVendor Advisory