← Vulnerability feed

Vulnerability record · CVE-2004-1018 · published 10 January 2005

CVE-2004-1018: Php vulnerability

Php · Php

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.

10.0 CVSS 2.0 High EPSS 16% · top 3.0%
10.0CVSS 2.0 base score
16%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
30References
16 Jun 2026Last modified by NVD

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.

AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://marc.info/?l=bugtraq&m=110314318531298&w=2 Issue TrackingThird Party Advisory
http://www.hardened-php.net/advisories/012004.txt Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2004:151 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2005:072 Third Party Advisory
http://www.osvdb.org/12411 Broken Link
http://www.php.net/release_4_3_10.php Release NotesVendor Advisory
http://www.redhat.com/support/errata/RHSA-2005-032.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2005-816.html Third Party Advisory
http://www.securityfocus.com/advisories/9028 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/384920 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/12045 Third Party AdvisoryVDB Entry
https://bugzilla.fedora.us/show_bug.cgi?id=2344 Broken Link
https://exchange.xforce.ibmcloud.com/vulnerabilities/18515 Third Party AdvisoryVDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949 Third Party Advisory
https://www.ubuntu.com/usn/usn-99-1/ Third Party Advisory
http://marc.info/?l=bugtraq&m=110314318531298&w=2 Issue TrackingThird Party Advisory
http://www.hardened-php.net/advisories/012004.txt Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2004:151 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2005:072 Third Party Advisory
http://www.osvdb.org/12411 Broken Link
http://www.php.net/release_4_3_10.php Release NotesVendor Advisory
http://www.redhat.com/support/errata/RHSA-2005-032.html Third Party Advisory
http://www.redhat.com/support/errata/RHSA-2005-816.html Third Party Advisory
http://www.securityfocus.com/advisories/9028 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/384920 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/12045 Third Party AdvisoryVDB Entry
https://bugzilla.fedora.us/show_bug.cgi?id=2344 Broken Link
https://exchange.xforce.ibmcloud.com/vulnerabilities/18515 Third Party AdvisoryVDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949 Third Party Advisory
https://www.ubuntu.com/usn/usn-99-1/ Third Party Advisory

Track CVE-2004-1018 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2007-0061Vmware ace memory buffer overflow vulnerabilityThe DHCP server in EMC VMware Workstation before 5.5.5 Build 56455 and 6.x before 6.0.1 Build 55017, Player before 1.0.5 Build 56455 and Player 2 bef…EPSS 6.5%10.0CVE-2007-0063Vmware ace vulnerabilityInteger underflow in the DHCP server in EMC VMware Workstation before 5.5.5 Build 56455 and 6.x before 6.0.1 Build 55017, Player before 1.0.5 Build 5…EPSS 20%10.0CVE-2007-0956Mit kerberos 5 missing authentication for critical function vulnerabilityThe telnet daemon (telnetd) in MIT krb5 before 1.6.1 allows remote attackers to bypass authentication and gain system access via a username beginning…EPSS 30%10.0CVE-2005-2700Apache http server vulnerabilityssl_engine_kernel.c in mod_ssl before 2.8.24, when using "SSLVerifyClient optional" in the global virtual host configuration, does not properly enfor…EPSS 31%10.0CVE-2004-1019Openpkg improper input validation vulnerabilityThe deserialization code in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote attackers to cause a denial of service and execute arbitrary code…EPSS 8.0%10.0CVE-2004-1063Php vulnerabilityPHP 4.x to 4.3.9, and PHP 5.x to 5.0.2, when running in safe mode on a multithreaded Unix webserver, allows local users to bypass safe_mode_exec_dir …EPSS 4.2%10.0CVE-2004-1064Php vulnerabilityThe safe mode checks in PHP 4.x to 4.3.9 and PHP 5.x to 5.0.2 truncate the file path before passing the data to the realpath function, which could al…EPSS 3.7%10.0CVE-2004-1065Openpkg vulnerabilityBuffer overflow in the exif_read_data function in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote attackers to execute arbitrary code via a l…EPSS 10%

Source: NIST National Vulnerability Database (record CVE-2004-1018), CISA KEV, FIRST EPSS (scores of 2026-11-22). This page is refreshed as NVD updates the record.