CVEvulnerability

CVE-2004-0594

5.1 MEDIUM Published 2004-07-27 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2004-07-27
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
5.1 MEDIUM — AV:N/AC:H/Au:N/C:P/I:P/A:P
Weaknesses
CWE-367

Description

The memory_limit functionality in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, under certain conditions such as when register_globals is enabled, allows remote attackers to execute arbitrary code by triggering a memory_limit abort during execution of the zend_hash_init function and overwriting a HashTable destructor pointer before the initialization of key data structures is complete.

Affected configurations

• openpkg openpkg 2.0 • openpkg openpkg 2.1 • avaya converged communications server 2.0 • debian debian linux 3.0 • hp hp-ux b.11.00 • hp hp-ux b.11.11 • hp hp-ux b.11.22 • hp hp-ux b.11.23 • trustix secure linux 1.5 • trustix secure linux 2.0 • trustix secure linux 2.1 • php php (>= 4.0 < 4.3.7) • php php 5.0.0

Related

Weakness · CWE (1)

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition weakness

Referenced by CWE · observed example (1)

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition weakness

References