Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40974?format=api",
    "vulnerability_id": "VCID-pfc1-97fv-gugu",
    "summary": "PHP contains several vulnerabilities including a heap buffer overflow,\n    potentially leading to the remote execution of arbitrary code under certain\n    conditions.",
    "aliases": [
        {
            "alias": "CVE-2007-1286"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75579?format=api",
            "purl": "pkg:ebuild/dev-lang/php@5.2.1-r3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@5.2.1-r3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83282?format=api",
            "purl": "pkg:ebuild/dev-lang/php@5.2.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@5.2.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129885?format=api",
            "purl": "pkg:rpm/redhat/php@4.1.2-2?arch=17",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dyru-p94k-w7gp"
                },
                {
                    "vulnerability": "VCID-pfc1-97fv-gugu"
                },
                {
                    "vulnerability": "VCID-u2gv-h542-9bbt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/php@4.1.2-2%3Farch=17"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129883?format=api",
            "purl": "pkg:rpm/redhat/php@4.3.2-40?arch=ent",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-49jr-gtjs-1ba9"
                },
                {
                    "vulnerability": "VCID-4dt6-x8pa-yfh3"
                },
                {
                    "vulnerability": "VCID-96m2-stv4-j7bj"
                },
                {
                    "vulnerability": "VCID-busj-qfth-v7e3"
                },
                {
                    "vulnerability": "VCID-dyru-p94k-w7gp"
                },
                {
                    "vulnerability": "VCID-pfc1-97fv-gugu"
                },
                {
                    "vulnerability": "VCID-u2gv-h542-9bbt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/php@4.3.2-40%3Farch=ent"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/129881?format=api",
            "purl": "pkg:rpm/redhat/php@4.3.9-3.22?arch=4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-49jr-gtjs-1ba9"
                },
                {
                    "vulnerability": "VCID-4dt6-x8pa-yfh3"
                },
                {
                    "vulnerability": "VCID-96m2-stv4-j7bj"
                },
                {
                    "vulnerability": "VCID-busj-qfth-v7e3"
                },
                {
                    "vulnerability": "VCID-dyru-p94k-w7gp"
                },
                {
                    "vulnerability": "VCID-pfc1-97fv-gugu"
                },
                {
                    "vulnerability": "VCID-u2gv-h542-9bbt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/php@4.3.9-3.22%3Farch=4"
        }
    ],
    "references": [
        {
            "reference_url": "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506"
        },
        {
            "reference_url": "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2007-0154.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://rhn.redhat.com/errata/RHSA-2007-0154.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2007-0155.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://rhn.redhat.com/errata/RHSA-2007-0155.html"
        },
        {
            "reference_url": "http://rhn.redhat.com/errata/RHSA-2007-0163.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://rhn.redhat.com/errata/RHSA-2007-0163.html"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2007-1286.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2007-1286.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2007-1286",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99405",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99388",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9939",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99391",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99392",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99393",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99394",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99395",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99397",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99396",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99398",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.994",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.86051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.99402",
                    "published_at": "2026-05-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2007-1286"
        },
        {
            "reference_url": "http://secunia.com/advisories/24419",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/24419"
        },
        {
            "reference_url": "http://secunia.com/advisories/24606",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/24606"
        },
        {
            "reference_url": "http://secunia.com/advisories/24910",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/24910"
        },
        {
            "reference_url": "http://secunia.com/advisories/24924",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/24924"
        },
        {
            "reference_url": "http://secunia.com/advisories/24941",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/24941"
        },
        {
            "reference_url": "http://secunia.com/advisories/24945",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/24945"
        },
        {
            "reference_url": "http://secunia.com/advisories/25025",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/25025"
        },
        {
            "reference_url": "http://secunia.com/advisories/25062",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/25062"
        },
        {
            "reference_url": "http://secunia.com/advisories/25423",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/25423"
        },
        {
            "reference_url": "http://secunia.com/advisories/25445",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/25445"
        },
        {
            "reference_url": "http://secunia.com/advisories/25850",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://secunia.com/advisories/25850"
        },
        {
            "reference_url": "http://security.gentoo.org/glsa/glsa-200703-21.xml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://security.gentoo.org/glsa/glsa-200703-21.xml"
        },
        {
            "reference_url": "http://security.gentoo.org/glsa/glsa-200705-19.xml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://security.gentoo.org/glsa/glsa-200705-19.xml"
        },
        {
            "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/32796",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/32796"
        },
        {
            "reference_url": "https://issues.rpath.com/browse/RPL-1268",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://issues.rpath.com/browse/RPL-1268"
        },
        {
            "reference_url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11575",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11575"
        },
        {
            "reference_url": "http://www.debian.org/security/2007/dsa-1282",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.debian.org/security/2007/dsa-1282"
        },
        {
            "reference_url": "http://www.debian.org/security/2007/dsa-1283",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.debian.org/security/2007/dsa-1283"
        },
        {
            "reference_url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:087",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:087"
        },
        {
            "reference_url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:088",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:088"
        },
        {
            "reference_url": "http://www.osvdb.org/32771",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.osvdb.org/32771"
        },
        {
            "reference_url": "http://www.php-security.org/MOPB/MOPB-04-2007.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.php-security.org/MOPB/MOPB-04-2007.html"
        },
        {
            "reference_url": "http://www.securityfocus.com/archive/1/466166/100/0/threaded",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/archive/1/466166/100/0/threaded"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/22765",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/22765"
        },
        {
            "reference_url": "http://www.trustix.org/errata/2007/0009/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.trustix.org/errata/2007/0009/"
        },
        {
            "reference_url": "http://www.vupen.com/english/advisories/2007/1991",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.vupen.com/english/advisories/2007/1991"
        },
        {
            "reference_url": "http://www.vupen.com/english/advisories/2007/2374",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.vupen.com/english/advisories/2007/2374"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1618297",
            "reference_id": "1618297",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1618297"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2007-1286",
            "reference_id": "CVE-2007-1286",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:P"
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-1286"
        },
        {
            "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/16310.rb",
            "reference_id": "CVE-2007-1286;OSVDB-32771",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/16310.rb"
        },
        {
            "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/remote/9939.rb",
            "reference_id": "CVE-2007-1286;OSVDB-32771",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/remote/9939.rb"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/200703-21",
            "reference_id": "GLSA-200703-21",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/200703-21"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/200705-19",
            "reference_id": "GLSA-200705-19",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/200705-19"
        },
        {
            "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/3396.php",
            "reference_id": "OSVDB-32771;CVE-2007-1286",
            "reference_type": "exploit",
            "scores": [],
            "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/3396.php"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2007:0154",
            "reference_id": "RHSA-2007:0154",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2007:0154"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2007:0155",
            "reference_id": "RHSA-2007:0155",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2007:0155"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2007:0163",
            "reference_id": "RHSA-2007:0163",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2007:0163"
        }
    ],
    "weaknesses": [],
    "exploits": [
        {
            "date_added": "2007-02-28",
            "description": "PHP < 4.5.0 - Unserialize Overflow (Metasploit)",
            "required_action": null,
            "due_date": null,
            "notes": null,
            "known_ransomware_campaign_use": true,
            "source_date_published": "2007-03-01",
            "exploit_type": "remote",
            "platform": "php",
            "source_date_updated": null,
            "data_source": "Exploit-DB",
            "source_url": ""
        },
        {
            "date_added": null,
            "description": "This module exploits an integer overflow vulnerability in the unserialize()\n          function of the PHP web server extension. This vulnerability was patched by\n          Stefan in version 4.5.0 and applies all previous versions supporting this function.\n          This particular module targets numerous web applications and is based on the proof\n          of concept provided by Stefan Esser. This vulnerability requires approximately 900k\n          of data to trigger due the multiple Cookie headers requirement. Since we\n          are already assuming a fast network connection, we use a 2Mb block of shellcode for\n          the brute force, allowing quick exploitation for those with fast networks.\n\n          One of the neat things about this vulnerability is that on x86 systems, the EDI register points\n          into the beginning of the hashtable string. This can be used with an egghunter to\n          quickly exploit systems where the location of a valid \"jmp EDI\" or \"call EDI\" instruction\n          is known. The EDI method is faster, but the bandwidth-intensive brute force used by this\n          module is more reliable across a wider range of systems.",
            "required_action": null,
            "due_date": null,
            "notes": "Reliability:\n  - unknown-reliability\nStability:\n  - unknown-stability\nSideEffects:\n  - unknown-side-effects\n",
            "known_ransomware_campaign_use": false,
            "source_date_published": "2007-03-04",
            "exploit_type": null,
            "platform": "Linux",
            "source_date_updated": null,
            "data_source": "Metasploit",
            "source_url": "https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/multi/php/php_unserialize_zval_cookie.rb"
        }
    ],
    "severity_range_score": "6.8 - 6.8",
    "exploitability": "2.0",
    "weighted_severity": "6.1",
    "risk_score": 10.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pfc1-97fv-gugu"
}