{
    "id": "CVE-2004-1018",
    "published": "2005-01-10 05:00:00",
    "last_modified": "2026-06-16 22:06:51",
    "cvss_score": "10.0",
    "cvss_severity": "HIGH",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
    "cwe": null,
    "description": "Multiple integer handling errors in PHP before 4.3.10 allow attackers to bypass safe mode restrictions, cause a denial of service, or execute arbitrary code via (1) a negative offset value to the shmop_write function, (2) an \"integer overflow/underflow\" in the pack function, or (3) an \"integer overflow/underflow\" in the unpack function.  NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute.  This candidate may change significantly in the future as a result of further discussion.",
    "epss_score": "0.16160",
    "epss_percentile": "0.96835",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-30 18:17:03",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "canonical",
            "product": "ubuntu_linux"
        },
        {
            "vendor": "php",
            "product": "php"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "24854",
            "title": "PHP 3/4/5 - Multiple Local/Remote Vulnerabilities (1)",
            "date": "2004-12-15",
            "url": "https://www.exploit-db.com/exploits/24854"
        },
        {
            "source": "exploit-db",
            "ref_id": "24855",
            "title": "PHP 3/4/5 - Multiple Local/Remote Vulnerabilities (2)",
            "date": "2004-12-15",
            "url": "https://www.exploit-db.com/exploits/24855"
        }
    ],
    "refs_list": [
        "http://marc.info/?l=bugtraq&m=110314318531298&w=2",
        "http://www.hardened-php.net/advisories/012004.txt",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2004:151",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2005:072",
        "http://www.osvdb.org/12411",
        "http://www.php.net/release_4_3_10.php",
        "http://www.redhat.com/support/errata/RHSA-2005-032.html",
        "http://www.redhat.com/support/errata/RHSA-2005-816.html",
        "http://www.securityfocus.com/advisories/9028",
        "http://www.securityfocus.com/archive/1/384920",
        "http://www.securityfocus.com/bid/12045",
        "https://bugzilla.fedora.us/show_bug.cgi?id=2344",
        "https://exchange.xforce.ibmcloud.com/vulnerabilities/18515",
        "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949",
        "https://www.ubuntu.com/usn/usn-99-1/",
        "http://marc.info/?l=bugtraq&m=110314318531298&w=2",
        "http://www.hardened-php.net/advisories/012004.txt",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2004:151",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2005:072",
        "http://www.osvdb.org/12411",
        "http://www.php.net/release_4_3_10.php",
        "http://www.redhat.com/support/errata/RHSA-2005-032.html",
        "http://www.redhat.com/support/errata/RHSA-2005-816.html",
        "http://www.securityfocus.com/advisories/9028",
        "http://www.securityfocus.com/archive/1/384920"
    ]
}