Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/924997?format=api",
    "purl": "pkg:deb/debian/ht@2.1.0%2Brepack1-2?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "ht",
    "version": "2.1.0+repack1-2",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.1.0+repack1-5",
    "latest_non_vulnerable_version": "2.1.0+repack1-6",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/85043?format=api",
            "vulnerability_id": "VCID-w77d-kbu4-gud8",
            "summary": "gcc,gdb,binutils,libitm: Stack overflow vulnerability in libiberty demangler",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-6131.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-6131.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-6131",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82537",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82642",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82638",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82639",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8255",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82566",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82562",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82588",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82596",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82614",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82608",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82602",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-6131"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6131",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6131"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "1.9",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:L/AC:M/Au:N/C:N/I:N/A:P"
                        },
                        {
                            "value": "3.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1352068",
                    "reference_id": "1352068",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1352068"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840889",
                    "reference_id": "840889",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840889"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3337-1/",
                    "reference_id": "USN-3337-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3337-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3367-1/",
                    "reference_id": "USN-3367-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3367-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3368-1/",
                    "reference_id": "USN-3368-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3368-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4336-2/",
                    "reference_id": "USN-4336-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4336-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924997?format=api",
                    "purl": "pkg:deb/debian/ht@2.1.0%2Brepack1-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ht@2.1.0%252Brepack1-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924993?format=api",
                    "purl": "pkg:deb/debian/ht@2.1.0%2Brepack1-5?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ht@2.1.0%252Brepack1-5%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/924995?format=api",
                    "purl": "pkg:deb/debian/ht@2.1.0%2Brepack1-6?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ht@2.1.0%252Brepack1-6%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2016-6131"
            ],
            "risk_score": 1.5,
            "exploitability": "0.5",
            "weighted_severity": "3.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w77d-kbu4-gud8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/ht@2.1.0%252Brepack1-2%3Fdistro=trixie"
}