vips — security advisory
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)."
- Products
- vips
- Affected versions
- 7.40.6-2ubuntu2, 8.0.2-2, 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.14.3-1, 8.14.5-1, 8.15.0-1, 8.15.0-2, 8.15.1-1, 8.15.1-1.1build3, 8.15.1-1.1build4, 8.15.1-1.1ubuntu0.1~esm1, 8.15.1-1build1, 8.16.0-2build1, 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.3-1, 8.18.4-1, 8.18.5-1, 8.2.1-1, 8.2.2-1, 8.2.2-1ubuntu0.1~esm1, 8.4.5-1build1, 8.4.5-1ubuntu0.1~esm1, 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
- Fixed versions
- Not specified
- CVEs
- CVE-2026-2913
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:58 UTC · Revision 1
Source evidence
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)."
osv:UBUNTU-CVE-2026-2913
vips
Fixed versions: Not specified
vips
Fixed versions: Not specified
vips
Fixed versions: Not specified
vips
Fixed versions: Not specified
vips
Fixed versions: Not specified
vips
Fixed versions: Not specified
vips
Fixed versions: Not specified
vips
Fixed versions: Not specified
Complete source record
{
"id": "c8fa8cb97597ae87033efa00dde3d3c32513d06973f394419ea02cac59e08e61",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-2913",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-2913",
"summary": "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).\"",
"evidence": "osv:UBUNTU-CVE-2026-2913",
"products": [
{
"name": {
"value": "vips",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.40.6-2ubuntu2",
"evidence": "/affected/0/versions"
},
{
"value": "8.0.2-2",
"evidence": "/affected/0/versions"
},
{
"value": "8.2.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.2.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.2.2-1ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "vips",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.4.5-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "8.4.5-1ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "vips",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.7.4-1build1",
"evidence": "/affected/2/versions"
},
{
"value": "8.8.3-3",
"evidence": "/affected/2/versions"
},
{
"value": "8.8.3-3ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "8.9.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "8.9.0-1build1",
"evidence": "/affected/2/versions"
},
{
"value": "8.9.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "8.9.1-2",
"evidence": "/affected/2/versions"
},
{
"value": "8.9.1-2ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "vips",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.10.5-2ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "8.11.4-2",
"evidence": "/affected/3/versions"
},
{
"value": "8.12.1-1",
"evidence": "/affected/3/versions"
},
{
"value": "8.12.1-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "8.12.1-1ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
},
{
"value": "8.12.1-1ubuntu0.1~esm2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "vips",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.14.3-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.14.5-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.15.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.15.0-2",
"evidence": "/affected/4/versions"
},
{
"value": "8.15.1-1",
"evidence": "/affected/4/versions"
},
{
"value": "8.15.1-1build1",
"evidence": "/affected/4/versions"
},
{
"value": "8.15.1-1.1build3",
"evidence": "/affected/4/versions"
},
{
"value": "8.15.1-1.1build4",
"evidence": "/affected/4/versions"
},
{
"value": "8.15.1-1.1ubuntu0.1~esm1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "vips",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.16.0-2build1",
"evidence": "/affected/5/versions"
},
{
"value": "8.16.1-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "vips",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.18.0-1build1",
"evidence": "/affected/6/versions"
},
{
"value": "8.18.3-1",
"evidence": "/affected/6/versions"
},
{
"value": "8.18.4-1",
"evidence": "/affected/6/versions"
},
{
"value": "8.18.5-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "vips",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.16.1-1",
"evidence": "/affected/7/versions"
},
{
"value": "8.16.1-2",
"evidence": "/affected/7/versions"
},
{
"value": "8.17.3-2",
"evidence": "/affected/7/versions"
},
{
"value": "8.18.0-1",
"evidence": "/affected/7/versions"
},
{
"value": "8.18.0-1build1",
"evidence": "/affected/7/versions"
},
{
"value": "8.18.0-1ubuntu0.1~esm1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-2913",
"aliases": [
"UBUNTU-CVE-2026-2913"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vips",
"purl": "pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Fxenial",
"ecosystem": "Ubuntu:Pro:16.04:LTS"
},
"versions": [
"7.40.6-2ubuntu2",
"8.0.2-2",
"8.2.1-1",
"8.2.2-1",
"8.2.2-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.json"
},
"ecosystem_specific": {
"binaries": [
{
"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",
"binary_version": "8.2.2-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vips",
"purl": "pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"8.4.5-1build1",
"8.4.5-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gir1.2-vips-8.0",
"binary_version": "8.4.5-1ubuntu0.1~esm1"
},
{
"binary_name": "libvips-tools",
"binary_version": "8.4.5-1ubuntu0.1~esm1"
},
{
"binary_name": "libvips42",
"binary_version": "8.4.5-1ubuntu0.1~esm1"
},
{
"binary_name": "python-vipscc",
"binary_version": "8.4.5-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vips",
"purl": "pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.json"
},
"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_name": "libvips42",
"binary_version": "8.9.1-2ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vips",
"purl": "pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.json"
},
"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"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vips",
"purl": "pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gir1.2-vips-8.0",
"binary_version": "8.15.1-1.1ubuntu0.1~esm1"
},
{
"binary_name": "libvips-tools",
"binary_version": "8.15.1-1.1ubuntu0.1~esm1"
},
{
"binary_name": "libvips42t64",
"binary_version": "8.15.1-1.1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vips",
"purl": "pkg:deb/ubuntu/vips?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"8.16.0-2build1",
"8.16.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.json"
},
"ecosystem_specific": {
"binaries": [
{
"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",
"binary_version": "8.16.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vips",
"purl": "pkg:deb/ubuntu/vips?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"8.18.0-1build1",
"8.18.3-1",
"8.18.4-1",
"8.18.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gir1.2-vips-8.0",
"binary_version": "8.18.5-1"
},
{
"binary_name": "libvips-tools",
"binary_version": "8.18.5-1"
},
{
"binary_name": "libvips42t64",
"binary_version": "8.18.5-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "vips",
"purl": "pkg:deb/ubuntu/vips?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2913.json"
},
"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"
}
]
}
}
],
"modified": "2026-10-17T12:59:57.643502596Z",
"provider": "osv",
"upstream": [
"CVE-2026-2913"
],
"references": [
"https://ubuntu.com/security/CVE-2026-2913",
"https://www.cve.org/CVERecord?id=CVE-2026-2913",
"https://github.com/libvips/libvips/issues/4857",
"https://github.com/libvips/libvips/",
"https://github.com/libvips/libvips/commit/a56feecbe9ed66521d9647ec9fbcd2546eccd7ee",
"https://github.com/libvips/libvips/issues/4857#issue-3920154326",
"https://github.com/libvips/libvips/issues/4857#issuecomment-3878479322",
"https://vuldb.com/?ctiid.347222",
"https://vuldb.com/?id.347222",
"https://vuldb.com/?submit.755224"
]
},
"related_cves": [
{
"value": "CVE-2026-2913",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 360036,
"published_at": "2026-02-22T04:15:00+00:00"
}