vips — security advisory
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.
- 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-3281
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:59 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-3281
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": "e01ced8abbb3f545b4002f0e441c03bff7fb56e80618b80dbfe5ecf9ca3d0cdf",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-3281",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-3281",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-3281",
"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-3281",
"aliases": [
"UBUNTU-CVE-2026-3281"
],
"metrics": [
{
"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_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"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"
}
],
"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-3281.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-3281.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-3281.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-3281.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-3281.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-3281.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-3281.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-3281.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:58.719065330Z",
"provider": "osv",
"upstream": [
"CVE-2026-3281"
],
"references": [
"https://ubuntu.com/security/CVE-2026-3281",
"https://www.cve.org/CVERecord?id=CVE-2026-3281",
"https://github.com/libvips/libvips/issues/4878",
"https://github.com/libvips/libvips/pull/4895",
"https://github.com/libvips/libvips/",
"https://github.com/libvips/libvips/commit/fd28c5463697712cb0ab116a2c55e4f4d92c4088",
"https://github.com/libvips/libvips/issues/4878#issue-3944209102",
"https://vuldb.com/?ctiid.348010",
"https://vuldb.com/?id.348010",
"https://vuldb.com/?submit.758861"
]
},
"related_cves": [
{
"value": "CVE-2026-3281",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 360057,
"published_at": "2026-02-27T02:16:00+00:00"
}