cve.bz

CVE-2004-0594

no score yetExploitEPSS 55%

No CVSS score yet. EPSS 55% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
55% (unchanged from 55% a week ago; 55% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2004-0594 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-0594?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-0594?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2004-0594 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openpkg:openpkg2.0
openpkg:openpkg2.1
avaya:converged_communications_server2.0
debian:debian_linux3.0
hp:hp-uxb.11.00
hp:hp-uxb.11.11
hp:hp-uxb.11.22
hp:hp-uxb.11.23
trustix:secure_linux1.5
trustix:secure_linux2.0
trustix:secure_linux2.1
php:phpfrom 4.0 before 4.3.7
php:php5.0.0:beta1
php:php5.0.0:beta2
php:php5.0.0:beta3
php:php5.0.0:beta4
php:php5.0.0:rc1
php:php5.0.0:rc2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.0php33:3.0.18-23.1woody2DSA-669-1
Debian3.0php44.1.2-7DSA-531
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morephp, php-imap, php-ldap and 5 more0:4.3.2-11.1.entRHSA-2004:392

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3php-0:4.3.2-11.1.entFixed 2004-07-19RHSA-2004:392
Red Hat Enterprise Linux AS (Advanced Server) version 2.1Fixed 2004-07-19RHSA-2004:395
Red Hat Enterprise Linux ES version 2.1Fixed 2004-07-19RHSA-2004:395
Red Hat Enterprise Linux WS version 2.1Fixed 2004-07-19RHSA-2004:395
Red Hat Linux Advanced Workstation 2.1Fixed 2004-07-19RHSA-2004:395
Red Hat Stronghold 4Fixed 2004-07-23RHSA-2004:405
Stronghold 4.0 for Red Hat Enterprise Linux AS (version 2.1)Fixed 2005-11-02RHSA-2005:816

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2004-0594.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON