A vulnerability was found in libvips up to 8.18.0. This affects the function vipsforeignloadcsvbuild of the file libvips/foreign/csvload.c. The manipulation results in heap-based buffer overflow. The attack requires a local approach. The exploit has been made public and could be used. The patch is identified as b3ab458a25e0e261cbd1788474bbc763f7435780. It is advisable to implement a patch to correct this issue.
{
"cwe_ids": [
"CWE-119",
"CWE-122"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3147.json",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "8.2"
},
{
"last_affected": "8.2"
},
{
"introduced": "8.4"
},
{
"last_affected": "8.4"
},
{
"introduced": "8.5"
},
{
"last_affected": "8.5"
}
]
}
],
"cna_assigner": "VulDB"
}{
"cpe": "cpe:2.3:a:libvips:libvips:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "8.18.0"
}
]
}
"2026-08-12T15:32:17Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3147.json"
[
{
"deprecated": false,
"target": {
"file": "libvips/foreign/csvload.c",
"function": "vips_foreign_load_csv_build"
},
"id": "CVE-2026-3147-5591ae0b",
"signature_version": "v1",
"digest": {
"function_hash": "94416421560491218846403034441503477891",
"length": 610.0
},
"source": "https://github.com/libvips/libvips/commit/b3ab458a25e0e261cbd1788474bbc763f7435780",
"signature_type": "Function"
},
{
"deprecated": false,
"target": {
"file": "libvips/foreign/csvload.c"
},
"id": "CVE-2026-3147-af928aef",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"122335264043279036409568682435354209833",
"249420623776449755065113853178165918255",
"261020416832808719966525272977935915183"
]
},
"source": "https://github.com/libvips/libvips/commit/b3ab458a25e0e261cbd1788474bbc763f7435780",
"signature_type": "Line"
}
]