A vulnerability was found in libvips up to 8.18.0. This affects the function vips_foreign_load_csv_build 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.
{
"cna_assigner": "VulDB",
"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": [
{
"extracted_events": [
{
"range": [
{
"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"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "8.1"
},
{
"last_affected": "8.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.3"
},
{
"last_affected": "8.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.6"
},
{
"last_affected": "8.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.7"
},
{
"last_affected": "8.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.8"
},
{
"last_affected": "8.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.9"
},
{
"last_affected": "8.9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.10"
},
{
"last_affected": "8.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.11"
},
{
"last_affected": "8.11"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.12"
},
{
"last_affected": "8.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.13"
},
{
"last_affected": "8.13"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.14"
},
{
"last_affected": "8.14"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.15"
},
{
"last_affected": "8.15"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.16"
},
{
"last_affected": "8.16"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.17"
},
{
"last_affected": "8.17"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "8.18.0"
},
{
"last_affected": "8.18.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "b3ab458a25e0e261cbd1788474bbc763f7435780"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3147.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "94416421560491218846403034441503477891",
"length": 610
},
"id": "CVE-2026-3147-5591ae0b",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/libvips/libvips/commit/b3ab458a25e0e261cbd1788474bbc763f7435780",
"target": {
"file": "libvips/foreign/csvload.c",
"function": "vips_foreign_load_csv_build"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"122335264043279036409568682435354209833",
"249420623776449755065113853178165918255",
"261020416832808719966525272977935915183"
],
"threshold": 0.9
},
"id": "CVE-2026-3147-af928aef",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/libvips/libvips/commit/b3ab458a25e0e261cbd1788474bbc763f7435780",
"target": {
"file": "libvips/foreign/csvload.c"
}
}
]
"2026-10-21T09:51:30Z"