Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/351712?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/351712?format=api",
    "vulnerability_id": "VCID-pfdb-qy35-hkh9",
    "summary": "In Mesa before 25.3.6 and 26 before 26.0.1, out-of-bounds memory access can occur in WebGPU because the amount of to-be-allocated data depends on an untrusted party, and is then used for alloca.",
    "aliases": [
        {
            "alias": "CVE-2026-40393"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1066811?format=api",
            "purl": "pkg:deb/debian/mesa@24.3.4-3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@24.3.4-3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1066813?format=api",
            "purl": "pkg:deb/debian/mesa@25.2.6-1~bpo13%2B1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@25.2.6-1~bpo13%252B1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1063051?format=api",
            "purl": "pkg:deb/debian/mesa@26.0.1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@26.0.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1000454?format=api",
            "purl": "pkg:deb/debian/mesa@26.0.4-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@26.0.4-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1067581?format=api",
            "purl": "pkg:deb/debian/mesa@26.0.5-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@26.0.5-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1088703?format=api",
            "purl": "pkg:deb/debian/mesa@26.0.6-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@26.0.6-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/930764?format=api",
            "purl": "pkg:deb/debian/mesa@20.3.5-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pfdb-qy35-hkh9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@20.3.5-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1058785?format=api",
            "purl": "pkg:deb/debian/mesa@20.3.5-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pfdb-qy35-hkh9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@20.3.5-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/930762?format=api",
            "purl": "pkg:deb/debian/mesa@22.3.6-1%2Bdeb12u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pfdb-qy35-hkh9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@22.3.6-1%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1066810?format=api",
            "purl": "pkg:deb/debian/mesa@22.3.6-1%2Bdeb12u1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pfdb-qy35-hkh9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@22.3.6-1%252Bdeb12u1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/930766?format=api",
            "purl": "pkg:deb/debian/mesa@25.0.7-2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pfdb-qy35-hkh9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@25.0.7-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1066812?format=api",
            "purl": "pkg:deb/debian/mesa@25.0.7-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pfdb-qy35-hkh9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mesa@25.0.7-2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-40393",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00043",
                    "scoring_system": "epss",
                    "scoring_elements": "0.12903",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00043",
                    "scoring_system": "epss",
                    "scoring_elements": "0.13001",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16288",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.1619",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16062",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16177",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16285",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16255",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16307",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16341",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16234",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16231",
                    "published_at": "2026-04-26T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-40393"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40393",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-40393"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://lists.freedesktop.org/archives/mesa-dev/2026-February/226597.html",
            "reference_id": "226597.html",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-04-13T15:46:57Z/"
                }
            ],
            "url": "https://lists.freedesktop.org/archives/mesa-dev/2026-February/226597.html"
        },
        {
            "reference_url": "https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39866",
            "reference_id": "39866",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-04-13T15:46:57Z/"
                }
            ],
            "url": "https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39866"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 787,
            "name": "Out-of-bounds Write",
            "description": "The product writes data past the end, or before the beginning, of the intended buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.8 - 8.1",
    "exploitability": "0.5",
    "weighted_severity": "4.0",
    "risk_score": 2.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pfdb-qy35-hkh9"
}