CVE-2025-29769
published high CVSS 4.0 · 8.5libvips has a potential heap-based buffer overflow when attempting to convert multiband TIFF input to HEIF output
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libvips | — | libvips< 8.16.1 | Affected | Not stated | GitHub_M |
| Debian | bookworm | vips | Advisory build | 8.14.1-3+deb12u2 | DSA-5915-1 |
| Ubuntu | focal | gir1.2-vips-8.0 | Advisory build | 8.9.1-2ubuntu0.1~esm1 | USN-8755-1 |
| Debian | bullseye | vips | Advisory build | 8.10.5-2+deb11u1 | DLA-4148-1 |
| Ubuntu | focal | libvips-tools | Advisory build | 8.9.1-2ubuntu0.1~esm1 | USN-8755-1 |
| Ubuntu | focal | libvips42 | Advisory build | 8.9.1-2ubuntu0.1~esm1 | USN-8755-1 |
| Ubuntu | focal | vips | Advisory build | 8.9.1-2ubuntu0.1~esm1 | USN-8755-1 |
| Ubuntu | jammy | gir1.2-vips-8.0 | Advisory build | 8.12.1-1ubuntu0.1~esm2 | USN-8755-1 |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | libvips-tools | Advisory build | 8.12.1-1ubuntu0.1~esm2 | USN-8755-1 |
| Ubuntu | jammy | libvips42 | Advisory build | 8.12.1-1ubuntu0.1~esm2 | USN-8755-1 |
| Ubuntu | jammy | vips | Advisory build | 8.12.1-1ubuntu0.1~esm2 | USN-8755-1 |
| Ubuntu | noble | gir1.2-vips-8.0 | Advisory build | 8.15.1-1.1ubuntu0.1~esm1 | USN-8755-1 |
| Ubuntu | noble | libvips-tools | Advisory build | 8.15.1-1.1ubuntu0.1~esm1 | USN-8755-1 |
| Ubuntu | noble | libvips42t64 | Advisory build | 8.15.1-1.1ubuntu0.1~esm1 | USN-8755-1 |
| Ubuntu | noble | vips | Advisory build | 8.15.1-1.1ubuntu0.1~esm1 | USN-8755-1 |
| Ubuntu | resolute | gir1.2-vips-8.0 | Advisory build | 8.18.0-1ubuntu0.1~esm1 | USN-8755-1 |
| Ubuntu | resolute | libvips-tools | Advisory build | 8.18.0-1ubuntu0.1~esm1 | USN-8755-1 |
| Ubuntu | resolute | libvips42t64 | Advisory build | 8.18.0-1ubuntu0.1~esm1 | USN-8755-1 |
| Ubuntu | resolute | vips | Advisory build | 8.18.0-1ubuntu0.1~esm1 | USN-8755-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libvips | libvips | < 8.16.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-122 CWE-122: Heap-based Buffer Overflow
References
6- https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2
- https://github.com/libvips/libvips/pull/4392
- https://github.com/libvips/libvips/pull/4394
- https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm
- https://issues.oss-fuzz.com/issues/396460413
- https://lists.debian.org/debian-lts-announce/2025/04/msg00044.html
Provider assertions
3GitHub_M · cna
libvips has a potential heap-based buffer overflow when attempting to convert multiband TIFF input to HEIF output
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 619f8f75c0a75d4bc0968f586f3fd2a08b0b3974aa65d435302ce05e0ef788f4
- Ingested
- 23 Sep 2026, 08:43:11 UTC
- Source record
- Official CVE record