{"id":"CVE-2004-1018","aliases":["EDB-24854","EDB-24855"],"kind":"cve","tier":"cold","status":"published","title":"Multiple integer handling errors in PHP before 4.3.10 allow attackers to bypass safe mode restrictions, cause a denial…","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.","ai_summary":null,"severity":"critical","cvss":{"score":10,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"NVD"},"scores":[{"score":10,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"nvd"}],"cwe":[],"remote":true,"remote_unauth":true,"epss":{"score":0.1616,"percentile":0.97559,"date":"2026-11-28"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[24854,24855]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2005-032.html","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:072","kind":"vendor"},{"url":"http://www.php.net/release_4_3_10.php","kind":"vendor"},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","kind":"vendor"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:151","kind":"vendor"},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=2344","kind":"vendor"},{"url":"http://www.securityfocus.com/advisories/9028","kind":"vendor"},{"url":"https://www.ubuntu.com/usn/usn-99-1/","kind":"vendor"},{"url":"https://www.exploit-db.com/exploits/24854","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/24855","kind":"exploit"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949","kind":"other"},{"url":"http://www.osvdb.org/12411","kind":"other"},{"url":"http://www.hardened-php.net/advisories/012004.txt","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18515","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/384920","kind":"other"},{"url":"http://www.securityfocus.com/bid/12045","kind":"other"},{"url":"http://marc.info/?l=bugtraq&m=110314318531298&w=2","kind":"other"}],"workarounds":null,"vendors":["canonical","php"],"products":["php","ubuntu_linux"],"cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:4.10:*:*:*:*:*:*:*"],"published_at":"2004-12-08T05:00:00.000Z","modified_at":"2026-06-16T22:06:51.813Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1018"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/24854"}],"links":{"html":"https://flawdb.com/CVE-2004-1018","markdown":"https://flawdb.com/CVE-2004-1018.md","json":"https://flawdb.com/api/v1/entries/CVE-2004-1018"}}