Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/87170?format=api",
    "vulnerability_id": "VCID-dd63-8v57-afad",
    "summary": "php: tidy_diagnose() NULL pointer dereference may cause DoS",
    "aliases": [
        {
            "alias": "CVE-2012-0781"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/125991?format=api",
            "purl": "pkg:rpm/redhat/php@5.3.3-14?arch=el6_3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2pjr-p6ge-nfa9"
                },
                {
                    "vulnerability": "VCID-35a3-5eq3-8bep"
                },
                {
                    "vulnerability": "VCID-3zy4-mx5a-yqbs"
                },
                {
                    "vulnerability": "VCID-dd63-8v57-afad"
                },
                {
                    "vulnerability": "VCID-hzpu-97n9-jqaa"
                },
                {
                    "vulnerability": "VCID-krz2-adgm-kqe1"
                },
                {
                    "vulnerability": "VCID-usmw-6d5u-tba8"
                },
                {
                    "vulnerability": "VCID-vjm8-c1u4-wfab"
                },
                {
                    "vulnerability": "VCID-zquc-69kh-yqdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/php@5.3.3-14%3Farch=el6_3"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0781.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0781.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0781",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.04269",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8889",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.04269",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88902",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88999",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89002",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8902",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89025",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89037",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89032",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89029",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88975",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89042",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89038",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89055",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89062",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89065",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89072",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.89043",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.04421",
                    "scoring_system": "epss",
                    "scoring_elements": "0.88982",
                    "published_at": "2026-04-02T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0781"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=782951",
            "reference_id": "782951",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=782951"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2012:1046",
            "reference_id": "RHSA-2012:1046",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2012:1046"
        },
        {
            "reference_url": "https://usn.ubuntu.com/1481-1/",
            "reference_id": "USN-1481-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/1481-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 476,
            "name": "NULL Pointer Dereference",
            "description": "A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit."
        }
    ],
    "exploits": [
        {
            "date_added": "2012-01-14",
            "description": "PHP 5.3.8 - Multiple Vulnerabilities",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": false,
            "source_date_published": "2012-01-14",
            "exploit_type": "dos",
            "platform": "multiple",
            "source_date_updated": "2012-01-14",
            "data_source": "Exploit-DB",
            "source_url": ""
        }
    ],
    "severity_range_score": null,
    "exploitability": "2.0",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dd63-8v57-afad"
}