nday
CVE-2004-1018

Multiple integer handling errors in PHP before 4.3.10 allow attackers to bypass safe mode…Title composed by nday; the CVE record has none.

A public PoC appeared 7 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in AV:N/AC:L/Au:N/C:C/I:C/A:C (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:L/Au:N/C:C/I:C/A:C (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 24854, 24855
PHP
CPE names NVD's analysts give as vulnerable: a:php:php
open-source library / framework
CPE names NVD's analysts give as vulnerable: a:php:phpthe product type of PHP in nday's product registry

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

stage
POC
disclosed
disclosure → PoC
T+7d POC is date-only
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2004-12-08T05:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2004-12-15, date only +1 more
ITWexploited
no record yet
KEVKEV
no record yet

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.

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 81911,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2004-1018",
  "occurred_at": "2004-12-08T05:00:00Z",
  "observed_at": "2026-11-13T05:35:38.65165Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2004-12-08T05:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2004-12-15date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHP 3/4/5 - Multiple Local/Remote Vulnerabilities (1)” (EDB-24854). Verified by Exploit-DB.

src exploitdb 24854 · nday , bulk import · raw
{
  "id": 28591,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/24854",
  "occurred_at": "2004-12-15T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "24854",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/24854",
    "file": "exploits/php/dos/24854.txt",
    "kind": "exploit",
    "tags": [],
    "type": "dos",
    "title": "PHP 3/4/5 - Multiple Local/Remote Vulnerabilities (1)",
    "author": "Stefan Esser",
    "edb_id": 24854,
    "cve_ids": [
      "CVE-2004-1018"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2004-12-15",
    "date_updated": "2016-12-08",
    "date_published": "2004-12-15"
  }
}
2004-12-15date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “PHP 3/4/5 - Multiple Local/Remote Vulnerabilities (2)” (EDB-24855). Verified by Exploit-DB.

src exploitdb 24855 · nday , bulk import · raw
{
  "id": 28592,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/24855",
  "occurred_at": "2004-12-15T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "24855",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/24855",
    "file": "exploits/php/dos/24855.txt",
    "kind": "exploit",
    "tags": [],
    "type": "dos",
    "title": "PHP 3/4/5 - Multiple Local/Remote Vulnerabilities (2)",
    "author": "Slythers",
    "edb_id": 24855,
    "cve_ids": [
      "CVE-2004-1018"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2004-12-15",
    "date_updated": "2016-12-02",
    "date_published": "2004-12-15"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.