CVE-2004-1018
HIGH 10.0CVSS 2.0Multiple 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.
- Published
- 10 Jan 2005
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | php | phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
< 4.3.10 | 4.3.10 |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:4.10:*:*:*:*:*:*:* |
= 4.10 |
References
- http://marc.info/?l=bugtraq&m=110314318531298&w=2 · Issue Tracking, Third 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 Notes, Vendor 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 Advisory, VDB Entry
- http://www.securityfocus.com/archive/1/384920 · Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/12045 · Third Party Advisory, VDB Entry
- https://bugzilla.fedora.us/show_bug.cgi?id=2344 · Broken Link
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18515 · Third Party Advisory, VDB 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
History
- 25 Nov 2026 20:12 UTC · NVD: first stored (published 10 Jan 2005)