Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/185773?format=api",
    "purl": "pkg:rpm/redhat/libtiff@3.9.4-1.el6_0?arch=3",
    "type": "rpm",
    "namespace": "redhat",
    "name": "libtiff",
    "version": "3.9.4-1.el6_0",
    "qualifiers": {
        "arch": "3"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/102715?format=api",
            "vulnerability_id": "VCID-sszm-sw4b-sufy",
            "summary": "Heap-based buffer overflow in tif_ojpeg.c in the OJPEG decoder in LibTIFF before 3.9.5 allows remote attackers to execute arbitrary code via a crafted TIFF file.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-5022.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2009-5022.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2009-5022",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.16555",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95032",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.16555",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9504",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2009-5022"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-5022",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-5022"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624287",
                    "reference_id": "624287",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624287"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=695885",
                    "reference_id": "695885",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=695885"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows/dos/22681.txt",
                    "reference_id": "CVE-2009-5022;OSVDB-72260",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows/dos/22681.txt"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201209-02",
                    "reference_id": "GLSA-201209-02",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201209-02"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2011:0452",
                    "reference_id": "RHSA-2011:0452",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2011:0452"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/1120-1/",
                    "reference_id": "USN-1120-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/1120-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2009-5022"
            ],
            "risk_score": 0.2,
            "exploitability": "2.0",
            "weighted_severity": "0.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sszm-sw4b-sufy"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "0.2",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/libtiff@3.9.4-1.el6_0%3Farch=3"
}