CVEfocus › CVE database › CVE-2025-29769

CVE-2025-29769libvips has a potential heap-based buffer overflow when attempting to convert multiband…

CVSS 8.5 HighEPSS 0.3% (higher than 19% of CVEs)Published 2025-04-07Updated 2025-04-30Assigner: GitHub_M

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.

CWE-122

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
4Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04vipsFix pending8.18.0-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-29769
Ubuntu 25.10vipsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-29769
Ubuntu 24.04vipsFix pending8.15.1-1.1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-29769
Ubuntu 22.04vipsFix pending8.12.1-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-29769
Ubuntu 20.04vipsFix pending8.9.1-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2025-29769
Debian 14vipsFixed8.16.1-1DEBIAN-CVE-2025-29769
Debian 13vipsFixed8.16.1-1DEBIAN-CVE-2025-29769
Debian 12vipsFixed8.14.1-3+deb12u2DEBIAN-CVE-2025-29769

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.