{"id":"UBUNTU-CVE-2026-2913","details":"A vulnerability was determined in libvips up to 8.19.0. The affected element is the function vips_source_read_to_memory of the file libvips/iofuncs/source.c. This manipulation causes heap-based buffer overflow. It is possible to launch the attack on the local host. The attack's complexity is rated as high. The exploitability is described as difficult. The exploit has been publicly disclosed and may be utilized. Patch name: a56feecbe9ed66521d9647ec9fbcd2546eccd7ee. Applying a patch is the recommended action to fix this issue. The confirmation of the bugfix mentions: \"[T]he impact of this is negligible, since this only affects custom seekable sources larger than 4 GiB (and the crash occurs in user code rather than libvips itself).\"","modified":"2026-05-20T16:24:54.176648681Z","published":"2026-02-22T04:15:00Z","upstream":["CVE-2026-2913"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-2913"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-2913"},{"type":"REPORT","url":"https://github.com/libvips/libvips/issues/4857"},{"type":"REPORT","url":"https://github.com/libvips/libvips/"},{"type":"REPORT","url":"https://github.com/libvips/libvips/commit/a56feecbe9ed66521d9647ec9fbcd2546eccd7ee"},{"type":"REPORT","url":"https://github.com/libvips/libvips/issues/4857#issue-3920154326"},{"type":"REPORT","url":"https://github.com/libvips/libvips/issues/4857#issuecomment-3878479322"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.347222"},{"type":"REPORT","url":"https://vuldb.com/?id.347222"},{"type":"REPORT","url":"https://vuldb.com/?submit.755224"}],"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_version":"8.2.2-1ubuntu0.1~esm1","binary_name":"libvips-tools"},{"binary_version":"8.2.2-1ubuntu0.1~esm1","binary_name":"libvips42"},{"binary_version":"8.2.2-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-2913.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_name":"libvips42","binary_version":"8.4.5-1ubuntu0.1~esm1"},{"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-2913.json"}},{"package":{"name":"vips","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/vips?arch=source&distro=focal"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"8.9.1-2","binary_name":"gir1.2-vips-8.0"},{"binary_version":"8.9.1-2","binary_name":"libvips-tools"},{"binary_version":"8.9.1-2","binary_name":"libvips42"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.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"],"ecosystem_specific":{"binaries":[{"binary_name":"gir1.2-vips-8.0","binary_version":"8.12.1-1ubuntu0.1~esm1"},{"binary_version":"8.12.1-1ubuntu0.1~esm1","binary_name":"libvips-tools"},{"binary_version":"8.12.1-1ubuntu0.1~esm1","binary_name":"libvips42"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.json"}},{"package":{"name":"vips","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/vips?arch=source&distro=noble"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"gir1.2-vips-8.0","binary_version":"8.15.1-1.1build4"},{"binary_name":"libvips-tools","binary_version":"8.15.1-1.1build4"},{"binary_version":"8.15.1-1.1build4","binary_name":"libvips42t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.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_version":"8.16.1-1","binary_name":"libvips-tools"},{"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-2913.json"}},{"package":{"name":"vips","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/vips?arch=source&distro=resolute"},"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"],"ecosystem_specific":{"binaries":[{"binary_version":"8.18.0-1build1","binary_name":"gir1.2-vips-8.0"},{"binary_version":"8.18.0-1build1","binary_name":"libvips-tools"},{"binary_version":"8.18.0-1build1","binary_name":"libvips42t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"},{"type":"Ubuntu","score":"medium"}]}