CVE-2025-29769

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

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.

Category

8.5
CVSS
Severity: High
CVSS 4.0 •
EPSS 0.03%
Affected: libvips libvips
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-29769?
CVE-2025-29769 has been scored as a high severity vulnerability.
How to fix CVE-2025-29769?
To fix CVE-2025-29769, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-29769 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-29769 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-29769?
CVE-2025-29769 affects libvips libvips.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.