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"
],
"cna_assigner": "VulDB",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3147.json",
"unresolved_ranges": [
{
"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"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "8.18.0"
}
],
"cpe": "cpe:2.3:a:libvips:libvips:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
]
}[
{
"target": {
"file": "libvips/foreign/csvload.c",
"function": "vips_foreign_load_csv_build"
},
"id": "CVE-2026-3147-5591ae0b",
"signature_type": "Function",
"deprecated": false,
"source": "https://github.com/libvips/libvips/commit/b3ab458a25e0e261cbd1788474bbc763f7435780",
"signature_version": "v1",
"digest": {
"function_hash": "94416421560491218846403034441503477891",
"length": 610.0
}
},
{
"target": {
"file": "libvips/foreign/csvload.c"
},
"id": "CVE-2026-3147-af928aef",
"signature_type": "Line",
"deprecated": false,
"source": "https://github.com/libvips/libvips/commit/b3ab458a25e0e261cbd1788474bbc763f7435780",
"signature_version": "v1",
"digest": {
"line_hashes": [
"122335264043279036409568682435354209833",
"249420623776449755065113853178165918255",
"261020416832808719966525272977935915183"
],
"threshold": 0.9
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-3147.json"
"2026-07-15T00:14:09Z"