# CVE-2025-29769: gir1.2-vips-8.0: libvips is a demand-driven, horizontally threaded image processing library

CVE-2025-29769 is fixed in 5 products on 1 platform, first by gir1.2-vips-8.0 8.9.1-2ubuntu0.1~esm1, released April 7, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-29769
- Priority: Routine
- CVSS: 5.5 (Medium)
- EPSS: 0.0029
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 7, 2025

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gir1.2-vips-8.0 Ubuntu 20.04 LTS (focal) | 8.9.1-2ubuntu0.1~esm1 | [gir1.2-vips-8.0 8.9.1-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-gir1.2-vips-8.0-8.9.1-2ubuntu0.1-esm1.md) | Apr 7, 2025 |
| Linux | gir1.2-vips-8.0 Ubuntu 22.04.1 LTS (jammy) | 8.12.1-1ubuntu0.1~esm2 | [gir1.2-vips-8.0 8.12.1-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-gir1.2-vips-8.0-8.12.1-1ubuntu0.1-esm2.md) | Apr 7, 2025 |
| Linux | gir1.2-vips-8.0 Ubuntu 24.04.5 LTS (noble) | 8.15.1-1.1ubuntu0.1~esm1 | [gir1.2-vips-8.0 8.15.1-1.1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-gir1.2-vips-8.0-8.15.1-1.1ubuntu0.1-esm1.md) | Apr 7, 2025 |
| Linux | gir1.2-vips-8.0 Ubuntu 26.04.1 LTS (resolute) | 8.18.0-1ubuntu0.1~esm1 | [gir1.2-vips-8.0 8.18.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-gir1.2-vips-8.0-8.18.0-1ubuntu0.1-esm1.md) | Apr 7, 2025 |
| Linux | libvips-tools Ubuntu 20.04 LTS (focal) | 8.9.1-2ubuntu0.1~esm1 | [libvips-tools 8.9.1-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libvips-tools-8.9.1-2ubuntu0.1-esm1.md) | Apr 7, 2025 |
| Linux | libvips-tools Ubuntu 22.04.1 LTS (jammy) | 8.12.1-1ubuntu0.1~esm2 | [libvips-tools 8.12.1-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libvips-tools-8.12.1-1ubuntu0.1-esm2.md) | Apr 7, 2025 |
| Linux | libvips-tools Ubuntu 24.04.5 LTS (noble) | 8.15.1-1.1ubuntu0.1~esm1 | [libvips-tools 8.15.1-1.1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libvips-tools-8.15.1-1.1ubuntu0.1-esm1.md) | Apr 7, 2025 |
| Linux | libvips-tools Ubuntu 26.04.1 LTS (resolute) | 8.18.0-1ubuntu0.1~esm1 | [libvips-tools 8.18.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libvips-tools-8.18.0-1ubuntu0.1-esm1.md) | Apr 7, 2025 |
| Linux | libvips42 Ubuntu 20.04 LTS (focal) | 8.9.1-2ubuntu0.1~esm1 | [libvips42 8.9.1-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libvips42-8.9.1-2ubuntu0.1-esm1.md) | Apr 7, 2025 |
| Linux | libvips42 Ubuntu 22.04.1 LTS (jammy) | 8.12.1-1ubuntu0.1~esm2 | [libvips42 8.12.1-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libvips42-8.12.1-1ubuntu0.1-esm2.md) | Apr 7, 2025 |
| Linux | libvips42t64 Ubuntu 24.04.5 LTS (noble) | 8.15.1-1.1ubuntu0.1~esm1 | [libvips42t64 8.15.1-1.1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libvips42t64-8.15.1-1.1ubuntu0.1-esm1.md) | Apr 7, 2025 |
| Linux | libvips42t64 Ubuntu 26.04.1 LTS (resolute) | 8.18.0-1ubuntu0.1~esm1 | [libvips42t64 8.18.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libvips42t64-8.18.0-1ubuntu0.1-esm1.md) | Apr 7, 2025 |
| Linux | vips Debian 11.6 (bullseye) | 8.10.5-2+deb11u1 | [DLA-4148-1](https://patchblox.com/security/data/fix/linux/dla-4148-1.md) | Apr 30, 2025 |
| Linux | vips Debian 12.15 (bookworm) | 8.14.1-3+deb12u2 | [DSA-5915-1](https://patchblox.com/security/data/fix/linux/dsa-5915-1.md) | May 3, 2025 |
| Linux | vips Debian 13.5 (trixie) | 8.16.1-1 | [DEBIAN-CVE-2025-29769](https://patchblox.com/security/data/fix/linux/debian-cve-2025-29769.md) | Apr 7, 2025 |
| Linux | vips Debian 14 | 8.16.1-1 | [DEBIAN-CVE-2025-29769](https://patchblox.com/security/data/fix/linux/debian-cve-2025-29769.md) | Apr 7, 2025 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
