{"id":"CVE-2026-6491","aliases":["DEBIAN-CVE-2026-6491","EUVD-2026-23432","GHSA-qv7w-j9w9-35p3","MGASA-2026-0237","UBUNTU-CVE-2026-6491"],"status":"published","title":"libvips nip2 vips7compat.c im_minpos_vec heap-based overflow","description":"A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the function im_minpos_vec of the file libvips/deprecated/vips7compat.c of the component nip2 Handler. Such manipulation of the argument n leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The vendor confirms that they will \"be removing the deprecated area in libvips 8.19\".","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.0016,"percentile":0.05259,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119","CWE-122"],"published":"2026-04-17T13:45:11Z","modified":"2026-11-03T21:19:53Z","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"}]}],"versions":["8.16.1-1","8.16.1-1+deb13u1","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:14","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","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":"Mageia:10","package":"vips","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.18.3-1.mga10"}]}],"bundled":4},{"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"]}],"references":[{"url":"https://vuldb.com/vuln/358035","tags":["vdb-entry","technical-description","advisory"]},{"url":"https://vuldb.com/vuln/358035/cti","tags":["signature","permissions-required","report"]},{"url":"https://vuldb.com/submit/786994","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/libvips/libvips/issues/4965","tags":["issue-tracking","report"]},{"url":"https://github.com/libvips/libvips/issues/4965#issuecomment-4135003499","tags":["issue-tracking","report"]},{"url":"https://github.com/biniamf/pocs/tree/main/libvips_im_minpos_vec_oob","tags":["exploit","evidence"]},{"url":"https://github.com/libvips/libvips/","tags":["product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6491","tags":["advisory"]},{"url":"https://github.com/libvips/libvips"},{"url":"https://github.com/advisories/GHSA-qv7w-j9w9-35p3"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6491.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-6491","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0237.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=35747","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IUA7WKE4WATNPXAAALXHMSPAD2GJ2CHS/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2026-6491","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-6491","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-6491","title":"libvips nip2 vips7compat.c im_minpos_vec heap-based overflow","description":"A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the function im_minpos_vec of the file libvips/deprecated/vips7compat.c of the component nip2 Handler. Such manipulation of the argument n leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The vendor confirms that they will \"be removing the deprecated area in libvips 8.19\".","status":"published","published":"2026-04-17T13:45:11.506Z","modified":"2026-04-18T02:59:14.319Z","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:T/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:T/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:TF/RC:C","assessor":"cna"}],"cwes":["CWE-122","CWE-119"],"updated_at":"2026-11-02T13:49:53.818886Z"}],"euvd":[{"id":"EUVD-2026-23432","description":"A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the function im_minpos_vec of the file libvips/deprecated/vips7compat.c of the component nip2 Handler. Such manipulation of the argument n leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The vendor confirms that they will \"be removing the deprecated area in libvips 8.19\".","status":"published","published":"2026-04-17T13:45:11Z","modified":"2026-04-18T02:59:14Z","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:24:23.330761Z"}],"ghsa":[{"id":"GHSA-qv7w-j9w9-35p3","title":"A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the...","description":"A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the function im_minpos_vec of the file libvips/deprecated/vips7compat.c of the component nip2 Handler. Such manipulation of the argument n leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The vendor confirms that they will \"be removing the deprecated area in libvips 8.19\".","status":"published","published":"2026-04-17T15:31:18Z","modified":"2026-04-17T15:31:28Z","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"},{"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"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:07:32.404178Z"}],"nvd":[{"id":"CVE-2026-6491","description":"A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the function im_minpos_vec of the file libvips/deprecated/vips7compat.c of the component nip2 Handler. Such manipulation of the argument n leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The vendor confirms that they will \"be removing the deprecated area in libvips 8.19\".","status":"published","published":"2026-04-17T14:16:35.187Z","modified":"2026-06-17T11:00:52.837Z","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":"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:15.120927Z"}],"osv":[{"id":"CVE-2026-6491","title":"libvips nip2 vips7compat.c im_minpos_vec heap-based overflow","description":"A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the function im_minpos_vec of the file libvips/deprecated/vips7compat.c of the component nip2 Handler. Such manipulation of the argument n leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The vendor confirms that they will \"be removing the deprecated area in libvips 8.19\".","status":"published","published":"2026-04-17T13:45:11.506Z","modified":"2026-10-28T02:30:21.977892474Z","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:14.096824Z"},{"id":"DEBIAN-CVE-2026-6491","description":"A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the function im_minpos_vec of the file libvips/deprecated/vips7compat.c of the component nip2 Handler. Such manipulation of the argument n leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The vendor confirms that they will \"be removing the deprecated area in libvips 8.19\".","status":"published","published":"2026-04-17T14:16:35.187Z","modified":"2026-10-01T03:03:48.179211493Z","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"}],"updated_at":"2026-11-02T15:45:58.699079Z"},{"id":"UBUNTU-CVE-2026-6491","description":"A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the function im_minpos_vec of the file libvips/deprecated/vips7compat.c of the component nip2 Handler. Such manipulation of the argument n leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The vendor confirms that they will \"be removing the deprecated area in libvips 8.19\".","status":"published","published":"2026-04-17T14:16:00Z","modified":"2026-11-03T21:19:53.541595578Z","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","level":"low"}],"updated_at":"2026-11-03T21:42:53.949366Z"},{"id":"MGASA-2026-0237","title":"Updated vips packages fix security vulnerabilities","description":"This update fixes several security issues:\nA flaw has been found in libvips up to 8.18.0. The affected element is\nthe function\nvips_foreign_load_matrix_file_is_a/vips_foreign_load_matrix_header of\nthe file libvips/foreign/matrixload.c. Executing a manipulation can lead\nto memory corruption. The attack needs to be launched locally.\n(CVE-2026-3145)\nA vulnerability has been found in libvips up to 8.18.0. The impacted\nelement is the function vips_foreign_load_matrix_header of the file\nlibvips/foreign/matrixload.c. The manipulation leads to null pointer\ndereference. The attack needs to be performed locally. (CVE-2026-3146)\nA vulnerability was found in libvips up to 8.18.0. This affects the\nfunction vips_foreign_load_csv_build of the file\nlibvips/foreign/csvload.c. The manipulation results in heap-based buffer\noverflow. The attack requires a local approach. The exploit has been\nmade public and could be used. (CVE-2026-3147)\nA security vulnerability has been detected in libvips up to 8.18.2. The\naffected element is the function im_minpos_vec of the file\nlibvips/deprecated/vips7compat.c of the component nip2 Handler. Such\nmanipulation of the argument n leads to heap-based buffer overflow. An\nattack has to be approached locally. The exploit has been disclosed\npublicly and may be used. (CVE-2026-6491)\n","status":"published","published":"2026-07-08T16:36:03Z","modified":"2026-07-08T16:45:04.93778666Z","updated_at":"2026-11-02T15:49:43.795591Z"}]}}
