CVE-2025-29769
Reported by github_m · Published April 7, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libvips | libvips | 8.16.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| libvips | libvips | < 8.16.1 |
| libvips | libvips | 0 |
Timeline
- Mar 11, 2025 Fix PR Merged
- Apr 7, 2025 CVE Published
- Apr 8, 2025 EPSS Score (30 in total, the first dated here)
- Apr 21, 2025 Coalition ESS Score (8 in total, the first dated here)
- Dec 5, 2025 CVE Updated
- Dec 18, 2025 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-29769
vulnetix vdb fixes CVE-2025-29769
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-29769/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm x_refsource_CONFIRM
- https://github.com/libvips/libvips/pull/4392 x_refsource_MISC
- https://github.com/libvips/libvips/pull/4394 x_refsource_MISC
- https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2 x_refsource_MISC
- https://issues.oss-fuzz.com/issues/396460413 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/04/msg00044.html url