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

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-07T20:09:30.971Z
- Modified: 2026-06-17T09:05:38.353Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- libvips libvips: < 8.16.1; before 8.16.1
- debian debian_linux: 11.0

## Every score

- GitHub_M: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://issues.oss-fuzz.com/issues/396460413> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm> (patch, vendor-advisory)
- <https://github.com/libvips/libvips/pull/4392> (issue-tracking)
- <https://github.com/libvips/libvips/pull/4394> (issue-tracking)
- <https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00044.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-29769](https://www.cve.org/CVERecord?id=CVE-2025-29769), CVE Terms of Use, modified 2025-04-30
- NVD: [CVE-2025-29769](https://nvd.nist.gov/vuln/detail/CVE-2025-29769), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-29769 · Whole record: https://cve.day/CVE-2025-29769.json · Rebuilt by cve.day 2026-11-25T22:58:56.167Z
