Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1055342?format=api",
    "purl": "pkg:deb/debian/libiberty@20210106-1",
    "type": "deb",
    "namespace": "debian",
    "name": "libiberty",
    "version": "20210106-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "20230104-1",
    "latest_non_vulnerable_version": "20230104-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80025?format=api",
            "vulnerability_id": "VCID-6cjq-sz9f-mqf9",
            "summary": "libiberty: Heap/stack buffer overflow in the dlang_lname function in d-demangle.c",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3826.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3826.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3826",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6809",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68113",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68131",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68109",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6816",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68175",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.682",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68186",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68153",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68192",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68203",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68185",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68228",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00556",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68236",
                            "published_at": "2026-04-26T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3826"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3826",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3826"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.6",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2122627",
                    "reference_id": "2122627",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2122627"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:3269",
                    "reference_id": "RHSA-2023:3269",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:3269"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:6372",
                    "reference_id": "RHSA-2023:6372",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:6372"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1055343?format=api",
                    "purl": "pkg:deb/debian/libiberty@20230104-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libiberty@20230104-1"
                }
            ],
            "aliases": [
                "CVE-2021-3826"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6cjq-sz9f-mqf9"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libiberty@20210106-1"
}