A flaw has been found in libvips up to 8.18.0. The affected element is the function vipsforeignloadmatrixfileisa/vipsforeignloadmatrixheader of the file libvips/foreign/matrixload.c. Executing a manipulation can lead to memory corruption. The attack needs to be launched locally. This patch is called d4ce337c76bff1b278d7085c3c4f4725e3aa6ece. A patch should be applied to remediate this issue.
[
{
"id": "CVE-2026-3145-1e4c3cfe",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/libvips/libvips/commit/d4ce337c76bff1b278d7085c3c4f4725e3aa6ece",
"target": {
"file": "libvips/foreign/matrixload.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"214137444763094919027595405206991934682",
"114125915424102214094943941015255073055",
"240227623464099024081197313043448215093",
"90075972502540572096863703136720591100",
"56619882688938754791021034650033918168",
"10903083153015923233814538361063596546",
"335913967601425406070766086758492307120",
"317078161876553776787656224675560684357",
"108688021650018986246375798821244774845",
"339488972693747747186842951161774281954",
"4471853130159302643669692878468166204",
"40954129459416673119987586640381411554",
"204474679123632465651305439243518257018",
"135121928896590355896168127708105478417",
"199362686267934192609032806378139263803",
"118978140758447448984422943984007965713",
"3859712564267575573475615035681001403",
"107127726650899297619048645180787554973",
"236752353468258317478061440098662235342",
"61439449913472198375666097582782687736",
"71308422648280875497590292553751626247",
"212012641635761051619653513246956545905",
"258763950903283639199892549237237735633",
"153816381251264239906348917164900966304",
"137707530634529074046672766073432150548",
"210945127218468499181505320029252210587",
"28789498119242513566930440120213995209",
"334070731203497138606498282894307450084",
"98943214030291583785470334570296265128"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2026-3145-764af691",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/libvips/libvips/commit/d4ce337c76bff1b278d7085c3c4f4725e3aa6ece",
"target": {
"function": "parse_matrix_header",
"file": "libvips/foreign/matrixload.c"
},
"digest": {
"length": 1194.0,
"function_hash": "267575534050077994414209450854243099589"
},
"signature_type": "Function"
},
{
"id": "CVE-2026-3145-9a36fa20",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/libvips/libvips/commit/d4ce337c76bff1b278d7085c3c4f4725e3aa6ece",
"target": {
"function": "vips_foreign_load_matrix_header",
"file": "libvips/foreign/matrixload.c"
},
"digest": {
"length": 820.0,
"function_hash": "274096035013621786525006410848199836078"
},
"signature_type": "Function"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3145.json"