CVE-2025-29769

5.5 MEDIUM
Published: April 07, 2025 Modified: October 09, 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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/libvips/libvips/pull/4392
Source: security-advisories@github.com
Issue Tracking
https://github.com/libvips/libvips/pull/4394
Source: security-advisories@github.com
Issue Tracking
https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm
Source: security-advisories@github.com
Patch Vendor Advisory
https://issues.oss-fuzz.com/issues/396460413
Source: security-advisories@github.com
Exploit Issue Tracking Third Party Advisory
https://lists.debian.org/debian-lts-announce/2025/04/msg00044.html
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Third Party Advisory

6 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.5 / 10.0
EPSS (Exploit Probability)
0.0%
14th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

debian libvips