Skip to content
Fencer Vulns
critical 10.0

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.ent
    fixed: 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 more
    fixed: vendor fix RHSA-2005:032
  • Red Hat Enterprise Linux ES version 2.1
    fixed: 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.ent
    fixed: 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 more
    fixed: vendor fix RHSA-2005:032
  • Red Hat Enterprise Linux WS version 2.1
    fixed: 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.ent
    fixed: 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 more
    fixed: vendor fix RHSA-2005:032
show 3 more
  • Red Hat Linux Advanced Workstation 2.1
    fixed: vendor fix RHSA-2005:031
  • Red Hat Stronghold 4
    fixed: 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

  1. Published
  2. 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

  • EDB-24855 PHP 3/4/5 - Multiple Local/Remote Vulnerabilities (2) dos, 2004-12-15
  • EDB-24854 PHP 3/4/5 - Multiple Local/Remote Vulnerabilities (1) dos, 2004-12-15

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

Sources

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.