CVE-2004-1018

HIGHCVSS v2 · 10.010.0
EchelonGraph scoreLOW confidence

This CVE was only ever scored under CVSS v2.0. NVD CVSS v2.0 base 10.0 — v2 rates that HIGH (v2 bands: LOW 0.0–3.9 / MEDIUM 4.0–6.9 / HIGH 7.0–10.0; v2 has no CRITICAL band). Vector AV:N/AC:L/Au:N/C:C/I:C/A:C. CVSS v2 is an older, coarser metric than v3.1/v4.0 (no Scope, no User Interaction, no Attack Requirements), so it is not directly comparable to a v3 or v4 score. NVD has never re-scored this record under v3. EPSS predicts 16.2% exploitation probability in the next 30 days, which is reflected in EG Risk but does not lift the v2 base. Confidence: LOW.

Sources: epss, nvd_v2
Weaponized
10.0EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 16%CVSS v2: 10.0Exploit: NoneExposed: 0

A fix is available — apply it.

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.

CVSS v2.0 (legacy)
10.0HIGHNVD never assigned a CVSS v3 rating to this CVE
EG Score
10.0(low)
EG Risk
76(Track)
EG Risk 76/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity100% × 45%
Exploitation65% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
16%
EPSS %ILE
97%
KEV
Not listed

Published

January 10, 2005

Last Modified

June 16, 2026

Patch Availability(6)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntuphp4-cgi () @ warty2026-05-31ubuntu
redhatpatch2005-12-19redhat
redhatpatch2005-11-02redhat
redhatphp-0:4.3.9-3.22005-02-15redhat
redhatpatch2005-01-19redhat
redhatphp-0:4.3.2-19.ent2004-12-21redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

All Vendor Advisories

(6)

Data Freshness Timeline

(refreshed 8× in last 7d / 24× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-26 13:24 UTCEG score recompute 10.00
  2. 2026-07-25 14:11 UTCEPSS rescore
  3. 2026-07-24 14:11 UTCEPSS rescore
  4. 2026-07-23 00:46 UTCEG score recompute
  5. 2026-07-23 00:27 UTCEG score recompute
  6. 2026-07-22 23:50 UTCEG score recompute
  7. 2026-07-22 21:30 UTCEG score recompute
  8. 2026-07-20 17:02 UTCEPSS rescore
  9. 2026-07-19 14:25 UTCEPSS rescore
  10. 2026-07-18 09:59 UTCEPSS rescore
  11. 2026-07-18 09:59 UTCEPSS rescore
  12. 2026-07-16 16:58 UTCEPSS rescore
  13. 2026-07-15 01:55 UTCEPSS rescore
  14. 2026-07-15 01:55 UTCEPSS rescore
  15. 2026-07-13 06:07 UTCEPSS rescore
  16. 2026-07-11 08:22 UTCEPSS rescore
  17. 2026-07-11 08:22 UTCEPSS rescore
  18. 2026-07-08 15:09 UTCEPSS rescore
  19. 2026-07-02 14:00 UTCEPSS rescore
  20. 2026-06-29 14:02 UTCEPSS rescore
  21. 2026-06-29 14:02 UTCEPSS rescore
  22. 2026-06-28 14:02 UTCEPSS rescore
  23. 2026-06-28 04:52 UTCEPSS rescore
  24. 2026-06-27 03:04 UTCEPSS rescore
  25. 2026-06-23 21:29 UTCEPSS rescore
Show 45 more
  1. 2026-06-21 14:52 UTCEPSS rescore
  2. 2026-06-21 01:56 UTCEPSS rescore
  3. 2026-06-18 17:49 UTCEPSS rescore
  4. 2026-06-18 17:49 UTCEPSS rescore
  5. 2026-06-17 17:49 UTCEPSS rescore
  6. 2026-06-17 17:49 UTCEPSS rescore
  7. 2026-06-16 17:49 UTCEPSS rescore
  8. 2026-06-16 17:49 UTCEPSS rescore
  9. 2026-06-15 17:43 UTCEPSS rescore
  10. 2026-06-14 23:13 UTCEPSS rescore
  11. 2026-06-14 23:13 UTCEPSS rescore
  12. 2026-06-13 22:56 UTCEPSS rescore
  13. 2026-06-12 23:08 UTCEPSS rescore
  14. 2026-06-11 13:55 UTCEPSS rescore
  15. 2026-06-10 22:13 UTCEPSS rescore
  16. 2026-06-10 13:17 UTCEPSS rescore
  17. 2026-06-06 13:44 UTCEPSS rescore
  18. 2026-06-06 13:44 UTCEPSS rescore
  19. 2026-06-06 13:44 UTCEPSS rescore
  20. 2026-06-05 22:43 UTCEPSS rescore
  21. 2026-06-05 22:43 UTCEPSS rescore
  22. 2026-06-04 13:09 UTCEPSS rescore
  23. 2026-06-02 20:10 UTCEPSS rescore
  24. 2026-06-01 13:49 UTCEPSS rescore
  25. 2026-06-01 13:49 UTCEPSS rescore
  26. 2026-05-31 14:32 UTCEG score recompute
  27. 2026-05-31 14:32 UTCVendor advisory
  28. 2026-05-31 14:32 UTCGHSA enrichment
  29. 2026-05-31 00:13 UTCEPSS rescore
  30. 2026-05-31 00:13 UTCEPSS rescore
  31. 2026-05-29 13:40 UTCEPSS rescore
  32. 2026-05-29 13:40 UTCEPSS rescore
  33. 2026-05-28 13:42 UTCEPSS rescore
  34. 2026-05-28 13:42 UTCEPSS rescore
  35. 2026-05-28 13:42 UTCEPSS rescore
  36. 2026-05-27 13:37 UTCEPSS rescore
  37. 2026-05-26 13:41 UTCEPSS rescore
  38. 2026-05-26 13:41 UTCEPSS rescore
  39. 2026-05-24 16:42 UTCEPSS rescore
  40. 2026-05-22 21:15 UTCEPSS rescore
  41. 2026-05-20 22:36 UTCEPSS rescore
  42. 2026-05-20 11:20 UTCEPSS rescore
  43. 2026-05-20 11:20 UTCEPSS rescore
  44. 2026-05-18 21:29 UTCEPSS rescore
  45. 2026-05-18 21:29 UTCEPSS rescore

Publicly available exploits

(2 references)

Working exploit code is in the public domain (2 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • Exploit-DBEDB-24854✓ verified
    First seen Dec 15, 2004

    PHP 3/4/5 - Multiple Local/Remote Vulnerabilities (1)

    Open source ↗
  • Exploit-DBEDB-24855✓ verified
    First seen Dec 15, 2004

    PHP 3/4/5 - Multiple Local/Remote Vulnerabilities (2)

    Open source ↗

Frequently asked(4)

What is CVE-2004-1018?
CVE-2004-1018 is a high vulnerability published on January 10, 2005. 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…
When was CVE-2004-1018 disclosed?
CVE-2004-1018 was first published in the National Vulnerability Database on January 10, 2005, with the most recent update on June 16, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2004-1018 actively exploited?
CVE-2004-1018 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 16% probability of exploitation in the next 30 days, which ranks it in the top 3.4% of all scored CVEs.
How do I remediate CVE-2004-1018?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2004-1018, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2004-1018

Explore →

Is Your Infrastructure Affected by CVE-2004-1018?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.