We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

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.

Reserved 2025-03-11 | Published 2025-04-07 | Updated 2025-04-30 | Assigner GitHub_M


HIGH: 8.5CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-122: Heap-based Buffer Overflow

Product status

< 8.16.1
affected

References

github.com/...ibvips/security/advisories/GHSA-f8r8-43hh-rghm

github.com/libvips/libvips/pull/4392

github.com/libvips/libvips/pull/4394

github.com/...ommit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2

issues.oss-fuzz.com/issues/396460413

cve.org (CVE-2025-29769)

nvd.nist.gov (CVE-2025-29769)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-29769

Support options

Helpdesk Chat, Email, Knowledgebase