CVE-2025-29769: libvips has a potential heap-based buffer overflow when attempting to convert multiband TIFF input to HEIF output
Last updated 14 September 2026
Other sources
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/vipsto a version that resolves this vulnerability.Fixed in 8.14.1-3+deb12u3Fixed in 8.14.1-3+deb12u2Fixed in 8.16.1-1+deb13u1Fixed in 8.18.6-1 - Upgrade
Upgrade
libvipsto a version that resolves this vulnerability.Fixed in 8.16.1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-29769?
CVE-2025-29769 has a severity rating that indicates it may lead to incorrect image processing outcomes in libvips.
How do I fix CVE-2025-29769?
To resolve CVE-2025-29769, upgrade libvips to version 8.16.2 or later.
What versions of libvips are affected by CVE-2025-29769?
CVE-2025-29769 affects libvips versions up to and including 8.16.1.
What type of vulnerability is CVE-2025-29769?
CVE-2025-29769 is a vulnerability concerning incorrect image processing related to alpha channel detection.
Can CVE-2025-29769 lead to security issues?
Yes, CVE-2025-29769 can lead to potential security issues due to improper handling of image data.