{"id":"CVE-2004-1018","state":"PUBLISHED","title":"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 offs","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.","publishedAt":"2004-12-08T05:00:00.000Z","updatedAt":"2024-08-08T00:39:00.448Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.redhat.com/support/errata/RHSA-2005-032.html","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949","http://www.mandriva.com/security/advisories?name=MDKSA-2005:072","http://www.php.net/release_4_3_10.php","http://www.osvdb.org/12411","http://www.redhat.com/support/errata/RHSA-2005-816.html","http://www.mandriva.com/security/advisories?name=MDKSA-2004:151","http://www.hardened-php.net/advisories/012004.txt","https://exchange.xforce.ibmcloud.com/vulnerabilities/18515","https://bugzilla.fedora.us/show_bug.cgi?id=2344","http://www.securityfocus.com/archive/1/384920","http://www.securityfocus.com/advisories/9028","http://www.securityfocus.com/bid/12045","http://marc.info/?l=bugtraq&m=110314318531298&w=2","https://www.ubuntu.com/usn/usn-99-1/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:27:02.310Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2004/1xxx/CVE-2004-1018.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2004-1018","state":"PUBLISHED","datePublished":"2004-12-08T05:00:00.000Z","dateUpdated":"2024-08-08T00:39:00.448Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2004-11-04T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2005-032.html","name":"RHSA-2005:032","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949","name":"oval:org.mitre.oval:def:10949","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:072","name":"MDKSA-2005:072","tags":["vendor-advisory","x_refsource_MANDRAKE"]},{"url":"http://www.php.net/release_4_3_10.php","tags":["x_refsource_CONFIRM"]},{"url":"http://www.osvdb.org/12411","name":"12411","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","name":"RHSA-2005:816","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:151","name":"MDKSA-2004:151","tags":["vendor-advisory","x_refsource_MANDRAKE"]},{"url":"http://www.hardened-php.net/advisories/012004.txt","tags":["x_refsource_MISC"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18515","name":"php-shmopwrite-outofbounds-memory(18515)","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=2344","name":"FLSA:2344","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.securityfocus.com/archive/1/384920","name":"20041219 PHP shmop.c module permits write of arbitrary memory.","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/advisories/9028","name":"HPSBMA01212","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.securityfocus.com/bid/12045","name":"12045","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://marc.info/?l=bugtraq&m=110314318531298&w=2","name":"20041215 Advisory 01/2004: Multiple vulnerabilities in PHP 4/5","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.ubuntu.com/usn/usn-99-1/","name":"USN-99-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-10-10T00:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2004-12-19T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-1018","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"RHSA-2005:032","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2005-032.html"},{"name":"oval:org.mitre.oval:def:10949","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949"},{"name":"MDKSA-2005:072","refsource":"MANDRAKE","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:072"},{"name":"http://www.php.net/release_4_3_10.php","refsource":"CONFIRM","url":"http://www.php.net/release_4_3_10.php"},{"name":"12411","refsource":"OSVDB","url":"http://www.osvdb.org/12411"},{"name":"RHSA-2005:816","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2005-816.html"},{"name":"MDKSA-2004:151","refsource":"MANDRAKE","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:151"},{"name":"http://www.hardened-php.net/advisories/012004.txt","refsource":"MISC","url":"http://www.hardened-php.net/advisories/012004.txt"},{"name":"php-shmopwrite-outofbounds-memory(18515)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18515"},{"name":"FLSA:2344","refsource":"FEDORA","url":"https://bugzilla.fedora.us/show_bug.cgi?id=2344"},{"name":"20041219 PHP shmop.c module permits write of arbitrary memory.","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/384920"},{"name":"HPSBMA01212","refsource":"HP","url":"http://www.securityfocus.com/advisories/9028"},{"name":"12045","refsource":"BID","url":"http://www.securityfocus.com/bid/12045"},{"name":"20041215 Advisory 01/2004: Multiple vulnerabilities in PHP 4/5","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=110314318531298&w=2"},{"name":"USN-99-1","refsource":"UBUNTU","url":"https://www.ubuntu.com/usn/usn-99-1/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.redhat.com/support/errata/RHSA-2005-032.html","name":"RHSA-2005:032","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949","name":"oval:org.mitre.oval:def:10949","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:072","name":"MDKSA-2005:072","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"]},{"url":"http://www.php.net/release_4_3_10.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.osvdb.org/12411","name":"12411","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","name":"RHSA-2005:816","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:151","name":"MDKSA-2004:151","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"]},{"url":"http://www.hardened-php.net/advisories/012004.txt","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18515","name":"php-shmopwrite-outofbounds-memory(18515)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=2344","name":"FLSA:2344","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/384920","name":"20041219 PHP shmop.c module permits write of arbitrary memory.","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/advisories/9028","name":"HPSBMA01212","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://www.securityfocus.com/bid/12045","name":"12045","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=110314318531298&w=2","name":"20041215 Advisory 01/2004: Multiple vulnerabilities in PHP 4/5","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://www.ubuntu.com/usn/usn-99-1/","name":"USN-99-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-08T00:39:00.448Z"}}]}}}