CVE-2004-1018 in the critical feed json
Multiple integer handling errors in PHP before 4.3.10 allow attackers to bypass safe mode restrictions, cause a denial of service, or execu…
published 2004-12-08 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-1016
- cvss
- 10.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 16.2%
- EPSS 16.2% chance of exploitation in 30 days, percentile 96%
- public exploits
- 2
- Exploit-DB
Summary
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.
Patch / fix
- php php 4.3.10
- php RHEL 3 4.3.2-19.ent
- php-imap RHEL 3 4.3.2-19.ent
- php-ldap RHEL 3 4.3.2-19.ent
- php-odbc RHEL 3 4.3.2-19.ent
- php-mysql RHEL 3 4.3.2-19.ent
- php-pgsql RHEL 3 4.3.2-19.ent
- php RHEL 4 4.3.9-3.2
- php-gd RHEL 4 4.3.9-3.2
red hat advisories RHSA-2004:687RHSA-2005:032
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-1018 updated
security flaw
-
Red Hat Desktop version 3 php 4.3.2-19.ent, php-imap 4.3.2-19.ent, php-ldap 4.3.2-19.ent, php-odbc 4.3.2-19.ent, php-mysql 4.3.2-19.ent, php-pgsql 4.3.2-19.ent Red Hat Enterprise Linux AS version 3 php 4.3.2-19.ent, php-imap 4.3.2-19.ent, php-ldap 4.3.2-19.ent, php-odbc 4.3.2-19.ent, php-mysql 4.3.2-19.ent, php-pgsql 4.3.2-19.entfixed: vendor fix RHSA-2004:687
-
Red Hat Enterprise Linux AS version 4 php 4.3.9-3.2, php-gd 4.3.9-3.2, php-imap 4.3.9-3.2, php-ldap 4.3.9-3.2, php-odbc 4.3.9-3.2, php-pear 4.3.9-3.2, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.2, php-gd 4.3.9-3.2, php-imap 4.3.9-3.2, php-ldap 4.3.9-3.2, php-odbc 4.3.9-3.2, php-pear 4.3.9-3.2, +7 morefixed: vendor fix RHSA-2005:032
-
Red Hat Enterprise Linux ES version 2.1fixed: vendor fix RHSA-2005:031
-
Red Hat Enterprise Linux ES version 3 php 4.3.2-19.ent, php-imap 4.3.2-19.ent, php-ldap 4.3.2-19.ent, php-odbc 4.3.2-19.ent, php-mysql 4.3.2-19.ent, php-pgsql 4.3.2-19.entfixed: vendor fix RHSA-2004:687
-
Red Hat Enterprise Linux ES version 4 php 4.3.9-3.2, php-gd 4.3.9-3.2, php-imap 4.3.9-3.2, php-ldap 4.3.9-3.2, php-odbc 4.3.9-3.2, php-pear 4.3.9-3.2, +7 morefixed: vendor fix RHSA-2005:032
-
Red Hat Enterprise Linux WS version 2.1fixed: vendor fix RHSA-2005:031
-
Red Hat Enterprise Linux WS version 3 php 4.3.2-19.ent, php-imap 4.3.2-19.ent, php-ldap 4.3.2-19.ent, php-odbc 4.3.2-19.ent, php-mysql 4.3.2-19.ent, php-pgsql 4.3.2-19.entfixed: vendor fix RHSA-2004:687
-
Red Hat Enterprise Linux WS version 4 php 4.3.9-3.2, php-gd 4.3.9-3.2, php-imap 4.3.9-3.2, php-ldap 4.3.9-3.2, php-odbc 4.3.9-3.2, php-pear 4.3.9-3.2, +7 morefixed: vendor fix RHSA-2005:032
show 3 moreshow fewer
-
Red Hat Linux Advanced Workstation 2.1fixed: vendor fix RHSA-2005:031
-
Red Hat Stronghold 4fixed: vendor fix RHSA-2005:882
-
Red Hat Stronghold 4.0 for Red Hat Enterprise Linux AS (version 2.1)fixed: vendor fix RHSA-2005:816
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (EDB-24855)
Exploit prediction
16.16% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Technology feeds
References
-
redhat.com
/support/errata/RHSA-2005-032.html
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2005:072
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2005-816.html
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2004:151
vendor-advisory, third-party-advisory
-
bugzilla.fedora.us
/show_bug.cgi?id=2344
vendor-advisory, broken-link
-
securityfocus.com
/advisories/9028
vendor-advisory, third-party-advisory, vdb-entry
-
ubuntu.com
/usn/usn-99-1/
vendor-advisory, third-party-advisory
-
php.net
/release_4_3_10.php
release-notes, vendor-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10949
vdb-entry, signature, third-party-advisory
-
osvdb.org
/12411
vdb-entry, broken-link
-
hardened-php.net
/advisories/012004.txt
third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/18515
vdb-entry, third-party-advisory
-
securityfocus.com
/archive/1/384920
mailing-list, third-party-advisory, vdb-entry
-
securityfocus.com
/bid/12045
vdb-entry, third-party-advisory
-
marc.info
/?l=bugtraq&m=110314318531298&w=2
mailing-list, issue-tracking, third-party-advisory
Sources
- CVE List CVE-2004-1018
- NVD CVE-2004-1018
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.