Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/475469?format=api",
    "purl": "pkg:apk/alpine/libxtst@1.2.2-r1?arch=x86&distroversion=v3.2&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "libxtst",
    "version": "1.2.2-r1",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.2",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/84885?format=api",
            "vulnerability_id": "VCID-m527-kd6v-y3f3",
            "summary": "libXtst: Insufficient validation of server responses result in Integer overflows",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-7951.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.0",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-7951.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-7951",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72093",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72099",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72119",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72096",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72133",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72145",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72167",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72151",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72137",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72178",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72187",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72172",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72215",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72224",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00706",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72219",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-7951"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7951",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7951"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.1",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:H/Au:N/C:P/I:P/A:P"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1381919",
                    "reference_id": "1381919",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1381919"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840444",
                    "reference_id": "840444",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840444"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/475469?format=api",
                    "purl": "pkg:apk/alpine/libxtst@1.2.2-r1?arch=x86&distroversion=v3.2&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libxtst@1.2.2-r1%3Farch=x86&distroversion=v3.2&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2016-7951"
            ],
            "risk_score": 2.2,
            "exploitability": "0.5",
            "weighted_severity": "4.5",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m527-kd6v-y3f3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/84886?format=api",
            "vulnerability_id": "VCID-r8au-42p6-e3e7",
            "summary": "libXtst: Insufficient validation of server responses result in various data mishandlings",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-7952.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.0",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-7952.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-7952",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74981",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.74985",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75014",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7499",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75024",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75035",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75057",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75025",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75061",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75069",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75059",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75097",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75102",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.0086",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75106",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-7952"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7952",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7952"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.1",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:H/Au:N/C:P/I:P/A:P"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1381922",
                    "reference_id": "1381922",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1381922"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840444",
                    "reference_id": "840444",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840444"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/475469?format=api",
                    "purl": "pkg:apk/alpine/libxtst@1.2.2-r1?arch=x86&distroversion=v3.2&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libxtst@1.2.2-r1%3Farch=x86&distroversion=v3.2&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2016-7952"
            ],
            "risk_score": 2.2,
            "exploitability": "0.5",
            "weighted_severity": "4.5",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r8au-42p6-e3e7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libxtst@1.2.2-r1%3Farch=x86&distroversion=v3.2&reponame=main"
}