{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2004-1018","published":"2005-01-10T05:00:00Z","last_modified":"2026-06-16T22:06:51.813000Z","status":"Modified","cvss":{"version":"2.0","score":10.0,"severity":"HIGH","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_end_excluding":"4.3.10"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:4.10:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"4.10"}],"cpes_truncated":false,"vendors":["php","canonical"],"products":["php/php","canonical/ubuntu_linux"],"cat":"web","platform":"multi","eol":false,"severity":"critical","priority_score":75,"links":{"html_es":"/es/cve/CVE-2004-1018/","html_en":"/en/cve/CVE-2004-1018/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2004-1018","cve_org":"https://www.cve.org/CVERecord?id=CVE-2004-1018"},"untrusted":{"vendor_name":"Php","product_name":"Php","desc_en":"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.","affected":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=110314318531298&w=2","tags":["Issue Tracking","Third Party Advisory"]},{"url":"http://www.hardened-php.net/advisories/012004.txt","tags":["Third Party Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:151","tags":["Third Party Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:072","tags":["Third Party Advisory"]},{"url":"http://www.osvdb.org/12411","tags":["Broken Link"]},{"url":"http://www.php.net/release_4_3_10.php","tags":["Release Notes","Vendor Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-032.html","tags":["Third Party Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","tags":["Third Party Advisory"]},{"url":"http://www.securityfocus.com/advisories/9028","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/archive/1/384920","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/12045","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=2344","tags":["Broken Link"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18515","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949","tags":["Third Party Advisory"]},{"url":"https://www.ubuntu.com/usn/usn-99-1/","tags":["Third Party Advisory"]}]}}