{"id":"CVE-2026-35591","aliases":["DEBIAN-CVE-2026-35591","EUVD-2026-46004","GHSA-523x-vhfw-6r76","UBUNTU-CVE-2026-35591","USN-8994-1"],"status":"published","title":"Possible heap-based buffer overflow when decoding TIFF image containing well-crafted tile","description":"libvips is a fast image processing library with low memory needs. The `tiffload` operation in libvips versions before and including 8.18.1 could incorrectly determine the number of channels in a JPEG or JPEG2000-encoded tile within a TIFF image, leading to a possible buffer overflow. This has been patched in version 8.18.2.","severity":{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.0019,"percentile":0.08719,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-122"],"published":"2026-07-20T16:24:50Z","modified":"2026-11-04T03:43:11Z","fixes":[{"ecosystem":"Debian:13","package":"vips","fixed_in":["8.16.1-1+deb13u2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"vips","fixed_in":["8.18.2-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"vips","fixed_in":["8.12.1-1ubuntu0.1~esm3"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"vips","fixed_in":["8.15.1-1.1ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"vips","fixed_in":["8.18.0-1ubuntu0.1~esm2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.14.1-3","8.14.1-3+deb12u1","8.14.1-3+deb12u2","8.14.1-3+deb12u3","8.14.2-1","8.14.3-1","8.14.4-1","8.14.5-1","8.15.0-1","8.15.0-2","8.15.0~rc2-1","8.15.0~rc2-2","8.15.1-1","8.15.1-1.1","8.15.1-1.1~exp1","8.15.2-1","8.15.2-2","8.15.3-1","8.16.0-1","8.16.0-2","8.16.1-1","8.16.1-2","8.17.3-1","8.17.3-2","8.18.0-1","8.18.0-2","8.18.0-3","8.18.1-1","8.18.2-1","8.18.3-1","8.18.4-1","8.18.5-1","8.18.6-1","8.18.6-2","8.18.7-1"]},{"source":"osv","ecosystem":"Debian:13","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.16.1-1+deb13u2"}]}],"versions":["8.16.1-1","8.16.1-1+deb13u1"]},{"source":"osv","ecosystem":"Debian:14","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.18.2-1"}]}],"versions":["8.16.1-1","8.16.1-2","8.17.3-1","8.17.3-2","8.18.0-1","8.18.0-2","8.18.0-3","8.18.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.12.1-1ubuntu0.1~esm3"}]}],"versions":["8.10.5-2ubuntu1","8.11.4-2","8.12.1-1","8.12.1-1build1","8.12.1-1ubuntu0.1~esm1","8.12.1-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.15.1-1.1ubuntu0.1~esm2"}]}],"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","8.15.1-1.1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.18.0-1ubuntu0.1~esm2"}]}],"versions":["8.16.1-1","8.16.1-2","8.17.3-2","8.18.0-1","8.18.0-1build1","8.18.0-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.2.2-1ubuntu0.1~esm1"}]}],"versions":["7.40.6-2ubuntu2","8.0.2-2","8.2.1-1","8.2.2-1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.5-1ubuntu0.1~esm2"}]}],"versions":["8.4.5-1build1","8.4.5-1ubuntu0.1~esm1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.9.1-2ubuntu0.1~esm2"}]}],"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","8.9.1-2ubuntu0.1~esm1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.12.1-1ubuntu0.1~esm3"}]}],"versions":["8.10.5-2ubuntu1","8.11.4-2","8.12.1-1","8.12.1-1build1","8.12.1-1ubuntu0.1~esm1","8.12.1-1ubuntu0.1~esm2"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.15.1-1.1ubuntu0.1~esm2"}]}],"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","8.15.1-1.1ubuntu0.1~esm1"],"bundled":9},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.18.0-1ubuntu0.1~esm2"}]}],"versions":["8.16.1-1","8.16.1-2","8.17.3-2","8.18.0-1","8.18.0-1build1","8.18.0-1ubuntu0.1~esm1"],"bundled":9}],"products":[{"vendor":"libvips","product":"libvips"}],"references":[{"url":"https://github.com/libvips/libvips/security/advisories/GHSA-523x-vhfw-6r76","tags":["x_refsource_CONFIRM","Vendor Advisory","Patch","advisory","report"]},{"url":"https://github.com/libvips/libvips/pull/4973","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","report"]},{"url":"https://github.com/libvips/libvips/commit/df044e409a0db77c980fa1a9f86a13fbfb2dc8fe","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35591.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35591","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-35591","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-35591","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-35591","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8994-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-59933","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-33327","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-33328","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-35590","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-69242","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-70651","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-70653","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-70654","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-35591","title":"Possible heap-based buffer overflow when decoding TIFF image containing well-crafted tile","description":"libvips is a fast image processing library with low memory needs. The `tiffload` operation in libvips versions before and including 8.18.1 could incorrectly determine the number of channels in a JPEG or JPEG2000-encoded tile within a TIFF image, leading to a possible buffer overflow. This has been patched in version 8.18.2.","status":"published","published":"2026-07-20T16:24:50.831Z","modified":"2026-07-20T17:44:01.158Z","cvss":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:20:05.15083Z"}],"euvd":[{"id":"EUVD-2026-46004","description":"libvips is a fast image processing library with low memory needs. The `tiffload` operation in libvips versions before and including 8.18.1 could incorrectly determine the number of channels in a JPEG or JPEG2000-encoded tile within a TIFF image, leading to a possible buffer overflow. This has been patched in version 8.18.2.","status":"published","published":"2026-07-20T16:24:50Z","modified":"2026-07-20T17:44:01Z","cvss":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-11-02T18:19:48.530346Z"}],"nvd":[{"id":"CVE-2026-35591","description":"libvips is a fast image processing library with low memory needs. The `tiffload` operation in libvips versions before and including 8.18.1 could incorrectly determine the number of channels in a JPEG or JPEG2000-encoded tile within a TIFF image, leading to a possible buffer overflow. This has been patched in version 8.18.2.","status":"published","published":"2026-07-20T17:17:07.277Z","modified":"2026-08-19T19:10:32.48Z","cvss":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/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":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:12:31.024898Z"}],"osv":[{"id":"CVE-2026-35591","title":"Possible heap-based buffer overflow when decoding TIFF image containing well-crafted tile","description":"libvips is a fast image processing library with low memory needs. The `tiffload` operation in libvips versions before and including 8.18.1 could incorrectly determine the number of channels in a JPEG or JPEG2000-encoded tile within a TIFF image, leading to a possible buffer overflow. This has been patched in version 8.18.2.","status":"published","published":"2026-07-20T16:24:50.831Z","modified":"2026-10-28T10:55:06.454291999Z","cvss":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T15:45:02.673625Z"},{"id":"DEBIAN-CVE-2026-35591","description":"libvips is a fast image processing library with low memory needs. The `tiffload` operation in libvips versions before and including 8.18.1 could incorrectly determine the number of channels in a JPEG or JPEG2000-encoded tile within a TIFF image, leading to a possible buffer overflow. This has been patched in version 8.18.2.","status":"published","published":"2026-07-20T17:17:07.277Z","modified":"2026-10-11T13:00:06.668854865Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:54.587575Z"},{"id":"UBUNTU-CVE-2026-35591","description":"libvips is a fast image processing library with low memory needs. The `tiffload` operation in libvips versions before and including 8.18.1 could incorrectly determine the number of channels in a JPEG or JPEG2000-encoded tile within a TIFF image, leading to a possible buffer overflow. This has been patched in version 8.18.2.","status":"published","published":"2026-07-20T17:17:00Z","modified":"2026-11-04T03:30:21.053161932Z","cvss":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-04T03:56:39.110241Z"},{"id":"USN-8994-1","title":"vips vulnerabilities","description":"It was discovered that libvips incorrectly handled certain PDF files with a\npage that defines a width but not a height. An attacker could possibly use\nthis issue to cause libvips to crash, resulting in a denial of service, or\nobtain sensitive information. This issue only affected Ubuntu 16.04 LTS,\nUbuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS.\n(CVE-2025-59933)\n\nIt was discovered that libvips incorrectly determined image dimensions in\nthe vipsload operation, leading to an integer overflow. An attacker could\npossibly use this issue to cause libvips to crash, resulting in a denial of\nservice, or possibly execute arbitrary code. (CVE-2026-33327)\n\nIt was discovered that libvips incorrectly determined image dimensions in\nthe gifload operation on 32-bit systems, leading to an integer overflow. An\nattacker could possibly use this issue to cause libvips to crash, resulting\nin a denial of service. This issue only affected Ubuntu 24.04 LTS and\nUbuntu 26.04 LTS. (CVE-2026-33328)\n\nIt was discovered that libvips did not properly validate EXIF tag groups.\nAn attacker could possibly use this issue to cause libvips to crash,\nresulting in a denial of service. (CVE-2026-35590)\n\nIt was discovered that libvips incorrectly determined the number of\nchannels in certain encoded tiles within TIFF images. An attacker could\npossibly use this issue to cause libvips to crash, resulting in a denial of\nservice, or possibly execute arbitrary code. This issue only affected\nUbuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-35591)\n\nIt was discovered that libvips incorrectly validated scanlines in certain\nTIFF images with many bands, leading to an integer overflow. An attacker\ncould possibly use this issue to cause libvips to crash, resulting in a\ndenial of service, obtain sensitive information, or possibly execute\narbitrary code. (CVE-2026-69242)\n\nIt was discovered that libvips incorrectly calculated frame heights when\nloading certain multi-page TIFF images through ImageMagick. An attacker\ncould possibly use this issue to cause libvips to crash, resulting in a\ndenial of service. (CVE-2026-70651)\n\nIt was discovered that libvips incorrectly handled certain Radiance images.\nAn attacker could possibly use this issue to obtain sensitive information.\n(CVE-2026-70653)\n\nIt was discovered that libvips incorrectly calculated read sizes when\nprocessing certain uncompressed PPM images from custom sources. An attacker\ncould possibly use this issue to cause libvips to crash, resulting in a\ndenial of service, or possibly execute arbitrary code. This issue only\naffected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu\n26.04 LTS. (CVE-2026-70654)","status":"published","published":"2026-11-03T17:39:43Z","modified":"2026-11-04T03:43:11.896270874Z","updated_at":"2026-11-04T03:56:18.279609Z"}]}}
