National Vulnerability Database

National Vulnerability Database

National Vulnerability

CVE-2004-1018 Detail


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.

Source:  MITRE      Last Modified:  01/10/2005

Quick Info

CVE Dictionary Entry:
Original release date:
Last revised:


CVSS Severity (version 2.0):
CVSS v2 Base Score:
10.0 HIGH
(AV:N/AC:L/Au:N/C:C/I:C/A:C) (legend)
Impact Subscore:
Exploitability Subscore:
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to

Hyperlink Resource Type Source Name External Source BUGTRAQ 20041215 Advisory 01/2004: Multiple vulnerabilities in PHP 4/5 External Source MISC External Source MANDRAKE MDKSA-2004:151 External Source MANDRAKE MDKSA-2005:072 External Source CONFIRM External Source REDHAT RHSA-2005:032 External Source REDHAT RHSA-2005:816 External Source HP HPSBMA01212 External Source BUGTRAQ 20041219 PHP shmop.c module permits write of arbitrary memory. External Source BID 12045 External Source FEDORA FLSA:2344 External Source XF php-shmopwrite-outofbounds-memory(18515) External Source OVAL oval:org.mitre.oval:def:10949 External Source UBUNTU USN-99-1

References to Check Content

Check System:

Technical Details

Vulnerability Type (View All)

Change History 5 change records found - show changes