CVE-2004-1018: Integer Overflow

Published Dec 8, 2004
·
Updated

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 shmopwrite 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 Software

2 affected components
PHP PHP<4.3.10
Ubuntu=4.10

Event History

Dec 8, 2004
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 10, 2005
Rejected
05:00 AM

Frequently Asked Questions

1

What is the severity of CVE-2004-1018?

CVE-2004-1018 is considered to be of high severity due to the potential for remote code execution, denial of service, and the ability to bypass safe mode restrictions.

2

How do I fix CVE-2004-1018?

To fix CVE-2004-1018, upgrade PHP to version 4.3.10 or later, or apply any patches provided by your distribution.

3

What vulnerabilities are associated with CVE-2004-1018?

CVE-2004-1018 is associated with integer handling errors in PHP that can lead to denial of service, arbitrary code execution, and safe mode bypass.

4

Which versions of PHP are affected by CVE-2004-1018?

CVE-2004-1018 affects all PHP versions prior to 4.3.10.

5

Can CVE-2004-1018 be exploited remotely?

Yes, CVE-2004-1018 can be exploited remotely by attackers taking advantage of the integer handling errors in PHP.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203