Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49113?format=api",
    "vulnerability_id": "VCID-5cwv-tp4y-3yb3",
    "summary": "Multiple vulnerabilities were found in PHP, the worst of which lead\n    to remote execution of arbitrary code.",
    "aliases": [
        {
            "alias": "CVE-2012-0830"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77748?format=api",
            "purl": "pkg:ebuild/dev-lang/php@5.3.15",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@5.3.15"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77749?format=api",
            "purl": "pkg:ebuild/dev-lang/php@5.4.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@5.4.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/126201?format=api",
            "purl": "pkg:rpm/redhat/php@4.3.9-3?arch=36",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5cwv-tp4y-3yb3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/php@4.3.9-3%3Farch=36"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/126202?format=api",
            "purl": "pkg:rpm/redhat/php@5.1.6-27.el5_7?arch=5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5cwv-tp4y-3yb3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/php@5.1.6-27.el5_7%3Farch=5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/126199?format=api",
            "purl": "pkg:rpm/redhat/php@5.3.3-3.el6_2?arch=6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5cwv-tp4y-3yb3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/php@5.3.3-3.el6_2%3Farch=6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/126200?format=api",
            "purl": "pkg:rpm/redhat/php53@5.3.3-1.el5_7?arch=6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5cwv-tp4y-3yb3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/php53@5.3.3-1.el5_7%3Farch=6"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0830.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0830.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0830",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96295",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96303",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96311",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96315",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96323",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96326",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9633",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96333",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96342",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96346",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96347",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96348",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9635",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9636",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.26594",
                    "scoring_system": "epss",
                    "scoring_elements": "0.96365",
                    "published_at": "2026-05-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0830"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=786686",
            "reference_id": "786686",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=786686"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/201209-03",
            "reference_id": "GLSA-201209-03",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/201209-03"
        },
        {
            "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/dos/18460.php",
            "reference_id": "OSVDB-78819;CVE-2012-0830",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/dos/18460.php"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2012:0092",
            "reference_id": "RHSA-2012:0092",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2012:0092"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2012:0093",
            "reference_id": "RHSA-2012:0093",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2012:0093"
        },
        {
            "reference_url": "https://usn.ubuntu.com/1358-1/",
            "reference_id": "USN-1358-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/1358-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 228,
            "name": "Improper Handling of Syntactically Invalid Structure",
            "description": "The product does not handle or incorrectly handles input that is not syntactically well-formed with respect to the associated specification."
        },
        {
            "cwe_id": 119,
            "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
            "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
        }
    ],
    "exploits": [
        {
            "date_added": "2012-02-04",
            "description": "PHP 5.4.0RC6 (x64) - Denial of Service",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": true,
            "source_date_published": "2012-02-04",
            "exploit_type": "dos",
            "platform": "php",
            "source_date_updated": "2017-04-25",
            "data_source": "Exploit-DB",
            "source_url": ""
        }
    ],
    "severity_range_score": null,
    "exploitability": "2.0",
    "weighted_severity": "0.2",
    "risk_score": 0.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5cwv-tp4y-3yb3"
}