Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/82866?format=api",
    "purl": "pkg:ebuild/media-libs/libpng@1.2.37",
    "type": "ebuild",
    "namespace": "media-libs",
    "name": "libpng",
    "version": "1.2.37",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.2.46",
    "latest_non_vulnerable_version": "1.6.51",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56081?format=api",
            "vulnerability_id": "VCID-1j6j-upj4-37hk",
            "summary": "A vulnerability has been discovered in libpng that allows for information\n    disclosure.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-2042.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-2042.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2009-2042",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.03106",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86818",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.03106",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86814",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.03106",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8683",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.03106",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86834",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.03106",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86833",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.03147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86886",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.03147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86835",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.03147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86899",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.03147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86845",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.03147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86864",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.03147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86858",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.03147",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86878",
                            "published_at": "2026-04-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2009-2042"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=504782",
                    "reference_id": "504782",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=504782"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/200906-01",
                    "reference_id": "GLSA-200906-01",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/200906-01"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201412-08",
                    "reference_id": "GLSA-201412-08",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201412-08"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2010:0534",
                    "reference_id": "RHSA-2010:0534",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2010:0534"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/913-1/",
                    "reference_id": "USN-913-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/913-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/82866?format=api",
                    "purl": "pkg:ebuild/media-libs/libpng@1.2.37",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/media-libs/libpng@1.2.37"
                }
            ],
            "aliases": [
                "CVE-2009-2042"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1j6j-upj4-37hk"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/media-libs/libpng@1.2.37"
}