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

Published Apr 7, 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.

Affected Software

3 affected components
libvips libvips<8.16.1
libvips libvips<8.16.1
Debian Debian Linux=11.0

Event History

Apr 7, 2025
CVE Published
via MITRE·08:09 PM
Data Sourced
via MITRE·08:09 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2025-29769?

To resolve CVE-2025-29769, upgrade libvips to version 8.16.2 or later.

3

What versions of libvips are affected by CVE-2025-29769?

CVE-2025-29769 affects libvips versions up to and including 8.16.1.

4

What type of vulnerability is CVE-2025-29769?

CVE-2025-29769 is a vulnerability concerning incorrect image processing related to alpha channel detection.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203