Home / Openpkg / Openpkg / CVE-2004-0594
CVE-2004-0594: is it exploited, and which versions of Openpkg are affected and fixed?
CVE-2004-0594 is a time-of-check time-of-use race condition vulnerability in Openpkg. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: openpkg 2.0, openpkg 2.1, converged communications server 2.0 and 10 more (NVD). Fixed in 4.3.7 (NVD). Severity: Medium (5.1, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:55 UTC.
What is CVE-2004-0594?
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.
From the CVE record by mitre, last updated August 8, 2024, 00:24 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openpkg | openpkg | 2.0 | application |
| openpkg | openpkg | 2.1 | application |
| avaya | converged communications server | 2.0 | hardware |
| debian | debian linux | 3.0 | operating system |
| hp | hp-ux | b.11.00 | operating system |
| hp | hp-ux | b.11.11 | operating system |
| hp | hp-ux | b.11.22 | operating system |
| hp | hp-ux | b.11.23 | operating system |
| trustix | secure linux | 1.5 | operating system |
| trustix | secure linux | 2.0 | operating system |
| trustix | secure linux | 2.1 | operating system |
| php | php | from 4.0 before 4.3.7 | application |
| php | php | 5.0.0 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:05 UTC.
How severe is CVE-2004-0594?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 2.0 | AV:N/AC:H/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2004-0594 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 54.9% probability of exploitation activity in the next 30 days, percentile 99.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Where are the vendor advisories and references?
- 2004-0039 vendor-advisory, x_refsource_TRUSTIX
- 20040714 Advisory 11/2004: PHP memory_limit remote vulnerability mailing-list, x_refsource_FULLDISC
- CLA-2004:847 vendor-advisory, x_refsource_CONECTIVA
- 20040714 TSSA-2004-013 - php mailing-list, x_refsource_BUGTRAQ
- DSA-669 vendor-advisory, x_refsource_DEBIAN
- RHSA-2004:395 vendor-advisory, x_refsource_REDHAT
- RHSA-2004:405 vendor-advisory, x_refsource_REDHAT
- oval:org.mitre.oval:def:10896 vdb-entry, signature, x_refsource_OVAL
- RHSA-2004:392 vendor-advisory, x_refsource_REDHAT
- DSA-531 vendor-advisory, x_refsource_DEBIAN
- SUSE-SA:2004:021 vendor-advisory, x_refsource_SUSE
- MDKSA-2004:068 vendor-advisory, x_refsource_MANDRAKE
- RHSA-2005:816 vendor-advisory, x_refsource_REDHAT
- SSRT4777 vendor-advisory, x_refsource_HP
- php-memorylimit-code-execution(16693) vdb-entry, x_refsource_XF
- 20040722 [OpenPKG-SA-2004.034] OpenPKG Security Advisory (php) mailing-list, x_refsource_BUGTRAQ
- 10725 vdb-entry, x_refsource_BID
- 20040713 Advisory 11/2004: PHP memory_limit remote vulnerability mailing-list, x_refsource_BUGTRAQ
- GLSA-200407-13 vendor-advisory, x_refsource_GENTOO
When was it published, and where is the official record?
- Reserved
- June 23, 2004
- Published
- July 16, 2004, 04:00 UTC
- CVE record updated
- August 8, 2024, 00:24 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:05 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:55 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Openpkg?
- Nov 7, 2007CVE-2007-5116 Larry Wall Perl: memory corruption (buffer overflow)
- May 10, 2005CVE-2004-1997 Kolab Groupware Server: n/a
- Feb 13, 2005CVE-2005-0373 Cyrus Sasl: n/a
- Feb 13, 2005CVE-2004-1471 Cvs: n/a
- Dec 22, 2004CVE-2004-1065 Openpkg: n/a
- Dec 22, 2004CVE-2004-1019 Openpkg: improper input validation
- Dec 1, 2004CVE-2004-1013 Carnegie Mellon University Cyrus Imap Server: n/a
- Dec 1, 2004CVE-2004-1012 Carnegie Mellon University Cyrus Imap Server: n/a
Questions about CVE-2004-0594
Is CVE-2004-0594 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 54.9% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Openpkg are affected by CVE-2004-0594?
openpkg 2.0, openpkg 2.1, converged communications server 2.0, debian linux 3.0, hp-ux b.11.00, hp-ux b.11.11 and 7 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2004-0594?
4.3.7, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2004-0594?
Medium (5.1, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2004-0594?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.