CVE-2004-0594 in Avaya Converged Communications Server and 5 more products
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...
Affects 6 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Avaya | Converged Communications Server | 2.0 |
| Debian | Debian Linux | 3.0 |
| Hp | Hp-Ux | b.11.00 b.11.11 b.11.22 b.11.23 |
| Openpkg | Openpkg | 2.0 2.1 |
| Php | Php | 5.0.0 ≥ 4.0, < 4.3.7 |
| Trustix | Secure Linux | 1.5 2.0 2.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-0594 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-159165-M |
| CVSS vector | AV:N/AC:H/Au:N/C:P/I:P/A:P |
| Published | 2004-07-27 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-367: CWE-367
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-367
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2004. A medium severity vulnerability affects Avaya systems (CVE-2004-0594). Public exploit code is available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:H/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2004-0594?
This vulnerability was disclosed in 2004. A medium severity vulnerability affects Avaya systems (CVE-2004-0594). Public exploit code is available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2004-0594?
CVE-2004-0594 has CVSS 5.1 (Medium). Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P. EPSS: 54.9%.
Is CVE-2004-0594 actively exploited?
Public exploit available for CVE-2004-0594. Exploitation risk elevated.
How do I remediate CVE-2004-0594?
Priority: MONITOR.
What systems are affected by CVE-2004-0594?
CVE-2004-0594 affects Avaya Converged Communications Server; Debian Debian Linux; Hp Hp-Ux; Openpkg Openpkg; Php Php; Trustix Secure Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Avaya","product":"Converged Communications Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.