Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/518143?format=api",
    "purl": "pkg:deb/debian/mcrypt@2.6.4-3",
    "type": "deb",
    "namespace": "debian",
    "name": "mcrypt",
    "version": "2.6.4-3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.6.8-1.3",
    "latest_non_vulnerable_version": "2.6.8-1.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/92846?format=api",
            "vulnerability_id": "VCID-1ew8-1xx4-jucv",
            "summary": "Multiple format string vulnerabilities in mcrypt 2.6.8 and earlier might allow user-assisted remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via vectors involving (1) errors.c or (2) mcrypt.c.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-4426",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.14864",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94649",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.14864",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94657",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.14864",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94658",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.14864",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94659",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.14864",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94664",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-4426"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4426",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4426"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201405-19",
                    "reference_id": "GLSA-201405-19",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201405-19"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/518146?format=api",
                    "purl": "pkg:deb/debian/mcrypt@2.6.8-1.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mcrypt@2.6.8-1.3"
                }
            ],
            "aliases": [
                "CVE-2012-4426"
            ],
            "risk_score": 0.1,
            "exploitability": "0.5",
            "weighted_severity": "0.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1ew8-1xx4-jucv"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/92844?format=api",
            "vulnerability_id": "VCID-9hwa-a99r-z3hh",
            "summary": "Stack-based buffer overflow in the check_file_head function in extra.c in mcrypt 2.6.8 and earlier allows user-assisted remote attackers to execute arbitrary code via an encrypted file with a crafted header containing long salt data that is not properly handled during decryption.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-4409",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.58743",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9825",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.58743",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98252",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.58743",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98253",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.58743",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98251",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-4409"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4409",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4409"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/22938.py",
                    "reference_id": "CVE-2012-4409;OSVDB-85194",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/22938.py"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/22928.pl",
                    "reference_id": "CVE-2012-4409;OSVDB-85194",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/22928.pl"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201405-19",
                    "reference_id": "GLSA-201405-19",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201405-19"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/518146?format=api",
                    "purl": "pkg:deb/debian/mcrypt@2.6.8-1.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mcrypt@2.6.8-1.3"
                }
            ],
            "aliases": [
                "CVE-2012-4409"
            ],
            "risk_score": 1.0,
            "exploitability": "2.0",
            "weighted_severity": "0.5",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9hwa-a99r-z3hh"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/92847?format=api",
            "vulnerability_id": "VCID-n13a-uuq6-rkgd",
            "summary": "Stack-based buffer overflow in mcrypt 2.6.8 and earlier allows user-assisted remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long file name.  NOTE: it is not clear whether this is a vulnerability.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-4527",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.281",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96568",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.281",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96571",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.281",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96576",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.281",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96577",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.281",
                            "scoring_system": "epss",
                            "scoring_elements": "0.96582",
                            "published_at": "2026-06-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-4527"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4527",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4527"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690924",
                    "reference_id": "690924",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690924"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201405-19",
                    "reference_id": "GLSA-201405-19",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201405-19"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/518146?format=api",
                    "purl": "pkg:deb/debian/mcrypt@2.6.8-1.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mcrypt@2.6.8-1.3"
                }
            ],
            "aliases": [
                "CVE-2012-4527"
            ],
            "risk_score": 0.1,
            "exploitability": "0.5",
            "weighted_severity": "0.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n13a-uuq6-rkgd"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "1.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mcrypt@2.6.4-3"
}