CVE-2025-29769 Details
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.
A heap-based buffer overflow vulnerability has been identified in libvips, an image processing library, in versions through 8.16.0. The issue arises in the heifsave operation, which can incorrectly assess the presence of an alpha channel in certain TIFF images. When a 'multiband' TIFF image with four channels is processed, libvips creates a three-channel HEIF image without an alpha channel, while attempting to write four channels of data. This discrepancy leads to a heap buffer overflow, potentially crashing the application.
Users can upgrade to libvips version 8.16.1 or later, or for those using Debian 11, version 8.10.5-2+deb11u1 is recommended.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/04/msg00044.html | CVE | Mailing ListThird Party Advisory |
| https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2 | [email protected] | Patch |
| https://github.com/libvips/libvips/pull/4392 | [email protected] | Issue Tracking |
| https://github.com/libvips/libvips/pull/4394 | [email protected] | Issue Tracking |
| https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm | [email protected] | PatchVendor Advisory |
| https://issues.oss-fuzz.com/issues/396460413 | [email protected] | ExploitIssue TrackingThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libvips libvips | < 8.16.1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 9, 2025 | Initial Analysis | [email protected] |
| Apr 30, 2025 | CVE Modified | CVE |
| Apr 7, 2025 | New CVE Received | [email protected] |