CVE-2026-3146

Source
https://cve.org/CVERecord?id=CVE-2026-3146
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3146.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-3146
Downstream
Related
Published
2026-02-25T03:02:09.172Z
Modified
2026-07-22T01:09:33.450837Z
Severity
  • 4.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X CVSS Calculator
Summary
libvips matrixload.c vips_foreign_load_matrix_header null pointer dereference
Details

A vulnerability has been found in libvips up to 8.18.0. The impacted element is the function vipsforeignloadmatrixheader of the file libvips/foreign/matrixload.c. The manipulation leads to null pointer dereference. The attack needs to be performed locally. The identifier of the patch is d4ce337c76bff1b278d7085c3c4f4725e3aa6ece. To fix this issue, it is recommended to deploy a patch.

Database specific
{
    "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"
        }
    ],
    "cwe_ids": [
        "CWE-404",
        "CWE-476"
    ],
    "cna_assigner": "VulDB",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3146.json"
}
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
Database specific
{
    "cpe": "cpe:2.3:a:libvips:libvips:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "8.18.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

8.*
8.1
8.10
8.11
8.12
8.13
8.14
8.15
8.16
8.17
8.18.0
8.3
8.6
8.7
8.8
8.9
v7.*
v7.28.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.6-beta2
v8.11
v8.11.0
v8.11.0-rc1
v8.12.0
v8.12.0-rc1
v8.13.0
v8.13.0-pre1
v8.13.0-rc1
v8.13.0-rc2
v8.14.0
v8.14.0-rc1
v8.15.0
v8.15.0-rc2
v8.16.0
v8.16.0-rc1
v8.16.0-rc2
v8.17.0
v8.17.0-rc1
v8.17.0-test1
v8.17.0-test2
v8.17.0-test3
v8.17.0-test4
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.3.0
v8.5.1
v8.5.2
v8.5.3
v8.6.0
v8.6.0-alpha1
v8.6.0-alpha2
v8.6.0-beta1
v8.6.0-beta2
v8.7.0
v8.7.0-alpha2
v8.7.0-rc1
v8.7.0-rc2
v8.7.0-rc3
v8.8.0
v8.8.0-rc1
v8.8.0-rc2
v8.8.0-rc3
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

Database specific

vanir_signatures_modified
"2026-07-22T01:09:33Z"
vanir_signatures
[
    {
        "signature_type": "Line",
        "deprecated": false,
        "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_version": "v1",
        "source": "https://github.com/libvips/libvips/commit/d4ce337c76bff1b278d7085c3c4f4725e3aa6ece",
        "id": "CVE-2026-3146-1e4c3cfe",
        "target": {
            "file": "libvips/foreign/matrixload.c"
        }
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 1194.0,
            "function_hash": "267575534050077994414209450854243099589"
        },
        "signature_version": "v1",
        "source": "https://github.com/libvips/libvips/commit/d4ce337c76bff1b278d7085c3c4f4725e3aa6ece",
        "id": "CVE-2026-3146-764af691",
        "target": {
            "function": "parse_matrix_header",
            "file": "libvips/foreign/matrixload.c"
        }
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 820.0,
            "function_hash": "274096035013621786525006410848199836078"
        },
        "signature_version": "v1",
        "source": "https://github.com/libvips/libvips/commit/d4ce337c76bff1b278d7085c3c4f4725e3aa6ece",
        "id": "CVE-2026-3146-9a36fa20",
        "target": {
            "function": "vips_foreign_load_matrix_header",
            "file": "libvips/foreign/matrixload.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3146.json"