Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1056685?format=api",
    "purl": "pkg:deb/debian/php-gettext@1.0.12-4",
    "type": "deb",
    "namespace": "debian",
    "name": "php-gettext",
    "version": "1.0.12-4",
    "qualifiers": {},
    "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/92926?format=api",
            "vulnerability_id": "VCID-2nmn-ccav-ekhy",
            "summary": "Eval injection vulnerability in php-gettext 1.0.12 and earlier allows remote attackers to execute arbitrary PHP code via a crafted plural forms header.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-6175",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.10928",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93367",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.10928",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93375",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.10928",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93383",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.10928",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93391",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.10928",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93395",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.10928",
                            "scoring_system": "epss",
                            "scoring_elements": "0.934",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.10928",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93419",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.10928",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93424",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.10928",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9343",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.10928",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93434",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.10928",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93429",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-6175"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6175",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6175"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851771",
                    "reference_id": "851771",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851771"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40154.txt",
                    "reference_id": "CVE-2016-6175",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40154.txt"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1056685?format=api",
                    "purl": "pkg:deb/debian/php-gettext@1.0.12-4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-gettext@1.0.12-4"
                }
            ],
            "aliases": [
                "CVE-2016-6175"
            ],
            "risk_score": 0.2,
            "exploitability": "2.0",
            "weighted_severity": "0.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2nmn-ccav-ekhy"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-gettext@1.0.12-4"
}