First published: Mon Apr 07 2025(Updated: )
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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
LibVIRT | <8.16.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-29769 has a severity rating that indicates it may lead to incorrect image processing outcomes in libvips.
To resolve CVE-2025-29769, upgrade libvips to version 8.16.2 or later.
CVE-2025-29769 affects libvips versions up to and including 8.16.1.
CVE-2025-29769 is a vulnerability concerning incorrect image processing related to alpha channel detection.
Yes, CVE-2025-29769 can lead to potential security issues due to improper handling of image data.