CVE-2026-3145

Source
https://cve.org/CVERecord?id=CVE-2026-3145
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3145.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-3145
Downstream
Related
Published
2026-02-25T03:16:07.193Z
Modified
2026-03-04T12:13:52.494430Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/libvips/libvips

Affected ranges

Type
GIT
Repo
https://github.com/libvips/libvips
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v7.*
v7.28.0
v7.30.0
v8.*
v8.0-beta
v8.1
v8.10.0
v8.10.0-beta1
v8.10.0-beta2
v8.10.0-rc1
v8.10.0-rc2
v8.10.1
v8.10.2
v8.10.3
v8.10.4
v8.10.5
v8.10.6
v8.10.6-beta
v8.10.6-beta2
v8.11
v8.11.0
v8.11.0-rc1
v8.11.1
v8.11.2
v8.11.3
v8.11.4
v8.12.0
v8.12.0-rc1
v8.12.1
v8.12.2
v8.13.0
v8.13.0-pre1
v8.13.0-rc1
v8.13.0-rc2
v8.13.1
v8.13.2
v8.13.3
v8.14.0
v8.14.0-rc1
v8.14.1
v8.14.2
v8.14.3
v8.14.4
v8.14.5
v8.15.0
v8.15.0-rc1
v8.15.0-rc2
v8.15.1
v8.15.2
v8.15.2a
v8.15.3
v8.15.4
v8.15.4-rc1
v8.15.5
v8.15.5-rc1
v8.16.0
v8.16.0-rc1
v8.16.0-rc2
v8.16.1
v8.17.0
v8.17.0-rc1
v8.17.0-test1
v8.17.0-test2
v8.17.0-test3
v8.17.0-test4
v8.17.1
v8.17.2
v8.17.3
v8.18.0
v8.18.0-alpha1
v8.18.0-alpha2
v8.18.0-rc1
v8.18.0-rc2
v8.18.0-rc3
v8.2.2
v8.2.3
v8.3.0
v8.4.2
v8.5.1
v8.5.2
v8.5.3
v8.5.4
v8.5.5
v8.5.6
v8.5.7
v8.5.8
v8.5.9
v8.6.0
v8.6.0-alpha1
v8.6.0-alpha2
v8.6.0-alpha3
v8.6.0-alpha4
v8.6.0-alpha5
v8.6.0-beta1
v8.6.0-beta2
v8.6.1
v8.6.2
v8.6.3
v8.6.4
v8.7.0
v8.7.0-alpha1
v8.7.0-alpha2
v8.7.0-rc1
v8.7.0-rc2
v8.7.0-rc3
v8.7.1
v8.7.2
v8.7.3
v8.7.4
v8.8.0
v8.8.0-rc1
v8.8.0-rc2
v8.8.0-rc3
v8.8.1
v8.8.2
v8.8.3
v8.9.0
v8.9.0-alpha1
v8.9.0-beta1
v8.9.0-beta2
v8.9.0-rc1
v8.9.0-rc2
v8.9.0-rc3
v8.9.0-rc4
v8.9.1
v8.9.2

Database specific

vanir_signatures
[
    {
        "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"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3145.json"