{"id":"UBUNTU-CVE-2026-6491","details":"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\".","modified":"2026-09-14T16:30:57.256047508Z","published":"2026-04-17T14:16:00Z","upstream":["CVE-2026-6491"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-6491"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-6491"},{"type":"REPORT","url":"https://github.com/libvips/libvips/issues/4965"}],"affected":[{"package":{"name":"vips","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Fxenial"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"8.2.2-1ubuntu0.1~esm1","binary_name":"gir1.2-vips-8.0"},{"binary_name":"libvips-tools","binary_version":"8.2.2-1ubuntu0.1~esm1"},{"binary_version":"8.2.2-1ubuntu0.1~esm1","binary_name":"libvips42"},{"binary_name":"python-vipscc","binary_version":"8.2.2-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6491.json"}},{"package":{"name":"vips","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.5-1build1","8.4.5-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"8.4.5-1ubuntu0.1~esm1","binary_name":"gir1.2-vips-8.0"},{"binary_name":"libvips-tools","binary_version":"8.4.5-1ubuntu0.1~esm1"},{"binary_version":"8.4.5-1ubuntu0.1~esm1","binary_name":"libvips42"},{"binary_version":"8.4.5-1ubuntu0.1~esm1","binary_name":"python-vipscc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6491.json"}},{"package":{"name":"vips","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Ffocal"},"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"],"ecosystem_specific":{"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_version":"8.9.1-2ubuntu0.1~esm1","binary_name":"libvips42"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6491.json"}},{"package":{"name":"vips","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Fjammy"},"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"],"ecosystem_specific":{"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6491.json"}},{"package":{"name":"vips","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Fnoble"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"gir1.2-vips-8.0","binary_version":"8.15.1-1.1ubuntu0.1~esm1"},{"binary_version":"8.15.1-1.1ubuntu0.1~esm1","binary_name":"libvips-tools"},{"binary_name":"libvips42t64","binary_version":"8.15.1-1.1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6491.json"}},{"package":{"name":"vips","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/vips?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.16.0-2build1","8.16.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"8.16.1-1","binary_name":"gir1.2-vips-8.0"},{"binary_name":"libvips-tools","binary_version":"8.16.1-1"},{"binary_version":"8.16.1-1","binary_name":"libvips42t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6491.json"}},{"package":{"name":"vips","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Fresolute"},"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"],"ecosystem_specific":{"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6491.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}