UBUNTU-CVE-2025-29769 (CVE-2025-29769)
Vulnerability from osv_ubuntu – Published: 2025-04-07 20:15 – Updated: 2026-09-14 19:27 – Source websitelibvips 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.
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "gir1.2-vips-8.0",
"binary_version": "8.9.1-2ubuntu0.1~esm1"
},
{
"binary_name": "libvips-tools",
"binary_version": "8.9.1-2ubuntu0.1~esm1"
},
{
"binary_name": "libvips42",
"binary_version": "8.9.1-2ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "vips",
"purl": "pkg:deb/ubuntu/vips@8.9.1-2ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.9.1-2ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.7.4-1build1",
"8.8.3-3",
"8.8.3-3ubuntu1",
"8.9.0-1",
"8.9.0-1build1",
"8.9.1-1",
"8.9.1-2"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "gir1.2-vips-8.0",
"binary_version": "8.12.1-1ubuntu0.1~esm2"
},
{
"binary_name": "libvips-tools",
"binary_version": "8.12.1-1ubuntu0.1~esm2"
},
{
"binary_name": "libvips42",
"binary_version": "8.12.1-1ubuntu0.1~esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "vips",
"purl": "pkg:deb/ubuntu/vips@8.12.1-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.12.1-1ubuntu0.1~esm2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.10.5-2ubuntu1",
"8.11.4-2",
"8.12.1-1",
"8.12.1-1build1",
"8.12.1-1ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "gir1.2-vips-8.0",
"binary_version": "8.15.1-1.1ubuntu0.1~esm1"
},
{
"binary_name": "libvips-tools",
"binary_version": "8.15.1-1.1ubuntu0.1~esm1"
},
{
"binary_name": "libvips42t64",
"binary_version": "8.15.1-1.1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "vips",
"purl": "pkg:deb/ubuntu/vips@8.15.1-1.1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.15.1-1.1ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.14.3-1",
"8.14.5-1",
"8.15.0-1",
"8.15.0-2",
"8.15.1-1",
"8.15.1-1build1",
"8.15.1-1.1build3",
"8.15.1-1.1build4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gir1.2-vips-8.0",
"binary_version": "8.16.1-1"
},
{
"binary_name": "libvips-tools",
"binary_version": "8.16.1-1"
},
{
"binary_name": "libvips42t64",
"binary_version": "8.16.1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "vips",
"purl": "pkg:deb/ubuntu/vips@8.16.1-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.16.0-2build1",
"8.16.1-1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "gir1.2-vips-8.0",
"binary_version": "8.18.0-1ubuntu0.1~esm1"
},
{
"binary_name": "libvips-tools",
"binary_version": "8.18.0-1ubuntu0.1~esm1"
},
{
"binary_name": "libvips42t64",
"binary_version": "8.18.0-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:26.04:LTS",
"name": "vips",
"purl": "pkg:deb/ubuntu/vips@8.18.0-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "8.18.0-1ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.16.1-1",
"8.16.1-2",
"8.17.3-2",
"8.18.0-1",
"8.18.0-1build1"
]
}
],
"aliases": [],
"details": "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\u0027t 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.",
"id": "UBUNTU-CVE-2025-29769",
"modified": "2026-09-14T19:27:47Z",
"published": "2025-04-07T20:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-29769"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-29769"
},
{
"type": "REPORT",
"url": "https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2"
},
{
"type": "REPORT",
"url": "https://github.com/libvips/libvips/pull/4392"
},
{
"type": "REPORT",
"url": "https://github.com/libvips/libvips/pull/4394"
},
{
"type": "REPORT",
"url": "https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm"
},
{
"type": "REPORT",
"url": "https://issues.oss-fuzz.com/issues/396460413"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8755-1"
}
],
"related": [
"USN-8755-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-29769"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.