{"id":"CVE-2026-3281","aliases":["DEBIAN-CVE-2026-3281","EUVD-2026-8985","GHSA-f98h-2fjh-775c","UBUNTU-CVE-2026-3281"],"status":"published","title":"libvips bandrank.c vips_bandrank_build heap-based overflow","description":"A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of the file libvips/conversion/bandrank.c. Performing a manipulation of the argument index results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit is now public and may be used. The patch is named fd28c5463697712cb0ab116a2c55e4f4d92c4088. It is suggested to install a patch to address this issue.","severity":{"version":"4.0","score":4.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.0027,"percentile":0.19372,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119","CWE-122"],"published":"2026-02-27T02:02:10Z","modified":"2026-11-03T21:19:25Z","fixes":[{"ecosystem":"Debian:12","package":"vips","fixed_in":["8.14.1-3+deb12u3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"vips","fixed_in":["8.16.1-1+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"vips","fixed_in":["8.18.0-3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.14.1-3+deb12u3"}]}],"versions":["8.14.1-3","8.14.1-3+deb12u1","8.14.1-3+deb12u2"]},{"source":"osv","ecosystem":"Debian:13","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.16.1-1+deb13u1"}]}],"versions":["8.16.1-1"]},{"source":"osv","ecosystem":"Debian:14","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.18.0-3"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.40.6-2ubuntu2","8.0.2-2","8.2.1-1","8.2.2-1","8.2.2-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.5-1build1","8.4.5-1ubuntu0.1~esm1","8.4.5-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","8.9.1-2ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","8.12.1-1ubuntu0.1~esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","8.15.1-1.1ubuntu0.1~esm2"]},{"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:26.10","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.18.0-1build1","8.18.3-1","8.18.4-1","8.18.5-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","8.18.0-1ubuntu0.1~esm2"]}],"products":[{"vendor":"libvips","product":"libvips"}],"references":[{"url":"https://vuldb.com/?id.348010","tags":["vdb-entry","technical-description","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://vuldb.com/?ctiid.348010","tags":["signature","permissions-required","Permissions Required","VDB Entry","report"]},{"url":"https://vuldb.com/?submit.758861","tags":["third-party-advisory","Third Party Advisory","VDB Entry","advisory","report"]},{"url":"https://github.com/libvips/libvips/issues/4878","tags":["issue-tracking","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://github.com/libvips/libvips/pull/4895","tags":["issue-tracking","patch","Issue Tracking","Patch","fix","report"]},{"url":"https://github.com/libvips/libvips/issues/4878#issue-3944209102","tags":["exploit","issue-tracking","Exploit","Issue Tracking","Vendor Advisory","report"]},{"url":"https://github.com/libvips/libvips/commit/fd28c5463697712cb0ab116a2c55e4f4d92c4088","tags":["patch","Patch","fix","report"]},{"url":"https://github.com/libvips/libvips/","tags":["product","Product","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3281","tags":["advisory"]},{"url":"https://github.com/libvips/libvips"},{"url":"https://github.com/advisories/GHSA-f98h-2fjh-775c"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3281.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-3281","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-3281","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-3281","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-3281","title":"libvips bandrank.c vips_bandrank_build heap-based overflow","description":"A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of the file libvips/conversion/bandrank.c. Performing a manipulation of the argument index results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit is now public and may be used. The patch is named fd28c5463697712cb0ab116a2c55e4f4d92c4088. It is suggested to install a patch to address this issue.","status":"published","published":"2026-02-27T02:02:10.922Z","modified":"2026-02-27T18:56:21.995Z","cvss":[{"version":"4.0","score":4.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","level":"medium","assessor":"cna"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","level":"medium","assessor":"cna"},{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C","assessor":"cna"}],"cwes":["CWE-122","CWE-119"],"updated_at":"2026-11-02T13:48:58.05327Z"}],"euvd":[{"id":"EUVD-2026-8985","description":"A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of the file libvips/conversion/bandrank.c. Performing a manipulation of the argument index results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit is now public and may be used. The patch is named fd28c5463697712cb0ab116a2c55e4f4d92c4088. It is suggested to install a patch to address this issue.","status":"published","published":"2026-02-27T02:02:10Z","modified":"2026-02-27T18:56:21Z","cvss":[{"version":"4.0","score":4.8,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"medium"}],"updated_at":"2026-11-02T19:48:13.609806Z"}],"ghsa":[{"id":"GHSA-f98h-2fjh-775c","title":"A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of...","description":"A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of the file libvips/conversion/bandrank.c. Performing a manipulation of the argument index results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit is now public and may be used. The patch is named fd28c5463697712cb0ab116a2c55e4f4d92c4088. It is suggested to install a patch to address this issue.","status":"published","published":"2026-02-27T03:30:27Z","modified":"2026-02-27T03:30:34Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":1.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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":"low"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:06:24.001962Z"}],"nvd":[{"id":"CVE-2026-3281","description":"A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of the file libvips/conversion/bandrank.c. Performing a manipulation of the argument index results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit is now public and may be used. The patch is named fd28c5463697712cb0ab116a2c55e4f4d92c4088. It is suggested to install a patch to address this issue.","status":"published","published":"2026-02-27T02:16:20.963Z","modified":"2026-06-17T10:43:20.053Z","cvss":[{"version":"4.0","score":1.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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":"low","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","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"},{"version":"2.0","score":4.3,"vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"secondary"}],"cwes":["CWE-119","CWE-122"],"updated_at":"2026-11-02T14:12:07.420927Z"}],"osv":[{"id":"CVE-2026-3281","title":"libvips bandrank.c vips_bandrank_build heap-based overflow","description":"A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of the file libvips/conversion/bandrank.c. Performing a manipulation of the argument index results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit is now public and may be used. The patch is named fd28c5463697712cb0ab116a2c55e4f4d92c4088. It is suggested to install a patch to address this issue.","status":"published","published":"2026-02-27T02:02:10.922Z","modified":"2026-10-28T10:49:24.985302631Z","cvss":[{"version":"4.0","score":1.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"}],"cwes":["CWE-119","CWE-122"],"updated_at":"2026-11-02T15:45:01.548715Z"},{"id":"DEBIAN-CVE-2026-3281","description":"A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of the file libvips/conversion/bandrank.c. Performing a manipulation of the argument index results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit is now public and may be used. The patch is named fd28c5463697712cb0ab116a2c55e4f4d92c4088. It is suggested to install a patch to address this issue.","status":"published","published":"2026-02-27T02:16:20.963Z","modified":"2026-10-01T03:03:10.322321066Z","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.232518Z"},{"id":"UBUNTU-CVE-2026-3281","description":"A vulnerability was detected in libvips 8.19.0. This affects the function vips_bandrank_build of the file libvips/conversion/bandrank.c. Performing a manipulation of the argument index results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit is now public and may be used. The patch is named fd28c5463697712cb0ab116a2c55e4f4d92c4088. It is suggested to install a patch to address this issue.","status":"published","published":"2026-02-27T02:16:00Z","modified":"2026-11-03T21:19:25.564899119Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"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"},{"version":"4.0","score":1.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","level":"low"}],"updated_at":"2026-11-03T21:43:32.336286Z"}]}}
