8.5
CWE
122 119
Advisory Published
Updated

CVE-2025-29769: libvips has a potential heap-based buffer overflow when attempting to convert multiband TIFF input to HEIF output

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 SoftwareAffected VersionHow to fix
LibVIRT<8.16.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203