CVE-2004-1018

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.

10.0
CVSS
Severity: Critical
CVSS 2.0 •
EPSS 24.19% Top 5%
Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory redhat.com Vendor Advisory mandriva.com Vendor Advisory fedora.us Vendor Advisory securityfocus.com Vendor Advisory ubuntu.com Vendor Advisory php.net
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://www.redhat.com/support/errata/RHSA-2005-032.html third party advisory vendor advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949 signature third party advisory vdb entry
http://www.mandriva.com/security/advisories?name=MDKSA-2005:072 third party advisory vendor advisory
http://www.php.net/release_4_3_10.php release notes vendor advisory
http://www.osvdb.org/12411 vdb entry broken link
http://www.redhat.com/support/errata/RHSA-2005-816.html third party advisory vendor advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2004:151 third party advisory vendor advisory
http://www.hardened-php.net/advisories/012004.txt third party advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/18515 third party advisory vdb entry
https://bugzilla.fedora.us/show_bug.cgi?id=2344 vendor advisory broken link
http://www.securityfocus.com/archive/1/384920 mailing list third party advisory vdb entry
http://www.securityfocus.com/advisories/9028 vendor advisory third party advisory vdb entry
http://www.securityfocus.com/bid/12045 third party advisory vdb entry
http://marc.info/?l=bugtraq&m=110314318531298&w=2 mailing list third party advisory issue tracking
https://www.ubuntu.com/usn/usn-99-1/ third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2004-1018?
CVE-2004-1018 has been scored as a critical severity vulnerability.
How to fix CVE-2004-1018?
To fix CVE-2004-1018, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2004-1018 being actively exploited in the wild?
It is possible that CVE-2004-1018 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~24% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.