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.
References (6)
Core 6
Core References
Mailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2025/04/msg00044.html
Patch, Vendor Advisory x_refsource_confirm
https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm
Issue Tracking x_refsource_misc
https://github.com/libvips/libvips/pull/4392
Issue Tracking x_refsource_misc
https://github.com/libvips/libvips/pull/4394
Patch x_refsource_misc
https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://issues.oss-fuzz.com/issues/396460413
Scores
CVSS v3
5.5
EPSS
0.0010
EPSS Percentile
26.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-122
Status
published
Products (2)
debian/debian_linux
11.0
libvips/libvips
< 8.16.1
Published
Apr 07, 2025
Tracked Since
Feb 18, 2026