{"id":"CVE-2025-29769","aliases":["DEBIAN-CVE-2025-29769","DLA-4148-1","DSA-5915-1","EUVD-2025-10391","GHSA-f8r8-43hh-rghm","UBUNTU-CVE-2025-29769","USN-8755-1"],"status":"published","title":"libvips has a potential heap-based buffer overflow when attempting to convert multiband TIFF input to HEIF output","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.","severity":{"version":"4.0","score":8.5,"vector":"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00291,"percentile":0.21926,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-122"],"published":"2025-04-07T20:09:30Z","modified":"2026-10-28T10:51:36Z","fixes":[{"ecosystem":"Debian:12","package":"vips","fixed_in":["8.14.1-3+deb12u2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"vips","fixed_in":["8.16.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"vips","fixed_in":["8.16.1-1"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"vips","fixed_in":["8.10.5-2+deb11u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"vips","fixed_in":["8.9.1-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"vips","fixed_in":["8.12.1-1ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"vips","fixed_in":["8.15.1-1.1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"vips","fixed_in":["8.18.0-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.14.1-3+deb12u2"}]}],"versions":["8.14.1-3","8.14.1-3+deb12u1"]},{"source":"osv","ecosystem":"Debian:13","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.16.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.16.1-1"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.10.5-2+deb11u1"}]}],"versions":["8.10.5-2"]},{"source":"osv","ecosystem":"Debian:12","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.14.1-3+deb12u2"}]}],"versions":["8.14.1-3","8.14.1-3+deb12u1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.9.1-2ubuntu0.1~esm1"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.12.1-1ubuntu0.1~esm2"}]}],"versions":["8.10.5-2ubuntu1","8.11.4-2","8.12.1-1","8.12.1-1build1","8.12.1-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.15.1-1.1ubuntu0.1~esm1"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.16.0-2build1","8.16.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.18.0-1ubuntu0.1~esm1"}]}],"versions":["8.16.1-1","8.16.1-2","8.17.3-2","8.18.0-1","8.18.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.9.1-2ubuntu0.1~esm1"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.12.1-1ubuntu0.1~esm2"}]}],"versions":["8.10.5-2ubuntu1","8.11.4-2","8.12.1-1","8.12.1-1build1","8.12.1-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.15.1-1.1ubuntu0.1~esm1"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.18.0-1ubuntu0.1~esm1"}]}],"versions":["8.16.1-1","8.16.1-2","8.17.3-2","8.18.0-1","8.18.0-1build1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"libvips","product":"libvips"}],"references":[{"url":"https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory","report"]},{"url":"https://github.com/libvips/libvips/pull/4392","tags":["x_refsource_MISC","Issue Tracking","fix","report"]},{"url":"https://github.com/libvips/libvips/pull/4394","tags":["x_refsource_MISC","Issue Tracking","fix","report"]},{"url":"https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2","tags":["x_refsource_MISC","Patch","fix","report"]},{"url":"https://issues.oss-fuzz.com/issues/396460413","tags":["x_refsource_MISC","Exploit","Issue Tracking","Third Party Advisory","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00044.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29769.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-29769","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-29769","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-29769","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-29769","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8755-1","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-29769","title":"libvips has a potential heap-based buffer overflow when attempting to convert multiband TIFF input to HEIF output","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.","status":"published","published":"2025-04-07T20:09:30.971Z","modified":"2025-04-30T22:03:02.869Z","cvss":[{"version":"4.0","score":8.5,"vector":"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","level":"high","assessor":"cna"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:32:45.797843Z"}],"euvd":[{"id":"EUVD-2025-10391","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.","status":"published","published":"2025-04-07T20:09:30Z","modified":"2025-04-30T22:03:02Z","cvss":[{"version":"4.0","score":8.5,"vector":"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","level":"high"}],"updated_at":"2026-11-02T20:51:58.065214Z"}],"nvd":[{"id":"CVE-2025-29769","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.","status":"published","published":"2025-04-07T20:15:21.09Z","modified":"2026-06-17T09:05:38.353Z","cvss":[{"version":"4.0","score":8.5,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:10:59.48027Z"}],"osv":[{"id":"CVE-2025-29769","title":"libvips has a potential heap-based buffer overflow when attempting to convert multiband TIFF input to HEIF output","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.","status":"published","published":"2025-04-07T20:09:30.971Z","modified":"2026-10-28T10:51:36.461491361Z","cvss":[{"version":"4.0","score":8.5,"vector":"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","level":"high"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T15:44:47.708311Z"},{"id":"DEBIAN-CVE-2025-29769","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.","status":"published","published":"2025-04-07T20:15:21.09Z","modified":"2026-09-01T20:05:45.464267046Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:45.870237Z"},{"id":"UBUNTU-CVE-2025-29769","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.","status":"published","published":"2025-04-07T20:15:00Z","modified":"2026-09-14T22:00:29.357933082Z","cvss":[{"version":"4.0","score":8.5,"vector":"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","level":"high"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:55:26.330196Z"},{"id":"DLA-4148-1","title":"vips - security update","status":"published","published":"2025-04-30T00:00:00Z","modified":"2026-03-09T01:22:08.314457Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"DSA-5915-1","title":"vips - security update","status":"published","published":"2025-05-03T00:00:00Z","modified":"2026-03-09T02:08:51.778253Z","updated_at":"2026-11-02T15:46:18.296714Z"},{"id":"USN-8755-1","title":"vips vulnerability","description":"It was discovered that libvips incorrectly handled specially crafted TIFF\nimages when saving them as HEIF images. An attacker could possibly use this\nissue to cause libvips to crash, resulting in a denial of service.","status":"published","published":"2026-09-14T12:47:26Z","modified":"2026-09-14T22:12:15.237482503Z","updated_at":"2026-11-02T16:58:26.907654Z"}]}}
