Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/351753?format=api",
    "vulnerability_id": "VCID-gt8m-rdmz-zkbd",
    "summary": "varnish: Varnish Cache: Denial of Service via workspace overflow during HTTP/1 pipelining",
    "aliases": [
        {
            "alias": "CVE-2026-40396"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/942031?format=api",
            "purl": "pkg:deb/debian/varnish@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/varnish@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/942028?format=api",
            "purl": "pkg:deb/debian/varnish@6.5.1-1%2Bdeb11u3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5781-s1ny-q7ey"
                },
                {
                    "vulnerability": "VCID-cmeu-b3fh-hkaf"
                },
                {
                    "vulnerability": "VCID-djsh-vmzh-sbe7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/varnish@6.5.1-1%252Bdeb11u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/942026?format=api",
            "purl": "pkg:deb/debian/varnish@7.1.1-2%2Bdeb12u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5781-s1ny-q7ey"
                },
                {
                    "vulnerability": "VCID-cmeu-b3fh-hkaf"
                },
                {
                    "vulnerability": "VCID-djsh-vmzh-sbe7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/varnish@7.1.1-2%252Bdeb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/942030?format=api",
            "purl": "pkg:deb/debian/varnish@7.7.0-3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cmeu-b3fh-hkaf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/varnish@7.7.0-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/942029?format=api",
            "purl": "pkg:deb/debian/varnish@7.7.3-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/varnish@7.7.3-2%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-40396.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-40396.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-40396",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00012",
                    "scoring_system": "epss",
                    "scoring_elements": "0.01635",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00012",
                    "scoring_system": "epss",
                    "scoring_elements": "0.01647",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00016",
                    "scoring_system": "epss",
                    "scoring_elements": "0.03484",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00016",
                    "scoring_system": "epss",
                    "scoring_elements": "0.03382",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00016",
                    "scoring_system": "epss",
                    "scoring_elements": "0.03497",
                    "published_at": "2026-04-21T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-40396"
        },
        {
            "reference_url": "https://github.com/varnish/varnish/issues/15",
            "reference_id": "15",
            "reference_type": "",
            "scores": [
                {
                    "value": "4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-13T15:35:30Z/"
                }
            ],
            "url": "https://github.com/varnish/varnish/issues/15"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2457697",
            "reference_id": "2457697",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2457697"
        },
        {
            "reference_url": "https://github.com/varnish/varnish/releases/tag/varnish-9.0.1",
            "reference_id": "varnish-9.0.1",
            "reference_type": "",
            "scores": [
                {
                    "value": "4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-13T15:35:30Z/"
                }
            ],
            "url": "https://github.com/varnish/varnish/releases/tag/varnish-9.0.1"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 131,
            "name": "Incorrect Calculation of Buffer Size",
            "description": "The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow."
        },
        {
            "cwe_id": 670,
            "name": "Always-Incorrect Control Flow Implementation",
            "description": "The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 5.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gt8m-rdmz-zkbd"
}