CVE-2004-0958 json
php_variables.c in PHP before 5.0.2 allows remote attackers to read sensitive memory contents via (1) GET, (2) POST, or (3) COOKIE GPC vari…
published 2004-10-16 22 y ago modified 2026-06-16 4 mo ago also EUVD-2004-0956
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 9.7%
- EPSS 9.7% chance of exploitation in 30 days, percentile 95%
- public exploits
- 1
- Exploit-DB
Summary
php_variables.c in PHP before 5.0.2 allows remote attackers to read sensitive memory contents via (1) GET, (2) POST, or (3) COOKIE GPC variables that end in an open bracket character, which causes PHP to calculate an incorrect string length.
Patch / fix
- php RHEL 3 4.3.2-19.ent
- php-imap RHEL 3 4.3.2-19.ent
- php-ldap RHEL 3 4.3.2-19.ent
- php-odbc RHEL 3 4.3.2-19.ent
- php-mysql RHEL 3 4.3.2-19.ent
- php-pgsql RHEL 3 4.3.2-19.ent
red hat advisories RHSA-2004:687
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-0958 updated
security flaw
-
Red Hat Desktop version 3 php 4.3.2-19.ent, php-imap 4.3.2-19.ent, php-ldap 4.3.2-19.ent, php-odbc 4.3.2-19.ent, php-mysql 4.3.2-19.ent, php-pgsql 4.3.2-19.ent Red Hat Enterprise Linux AS version 3 php 4.3.2-19.ent, php-imap 4.3.2-19.ent, php-ldap 4.3.2-19.ent, php-odbc 4.3.2-19.ent, php-mysql 4.3.2-19.ent, php-pgsql 4.3.2-19.ent Red Hat Enterprise Linux ES version 3 php 4.3.2-19.ent, php-imap 4.3.2-19.ent, php-ldap 4.3.2-19.ent, php-odbc 4.3.2-19.ent, php-mysql 4.3.2-19.ent, php-pgsql 4.3.2-19.ent Red Hat Enterprise Linux WS version 3 php 4.3.2-19.ent, php-imap 4.3.2-19.ent, php-ldap 4.3.2-19.ent, php-odbc 4.3.2-19.ent, php-mysql 4.3.2-19.ent, php-pgsql 4.3.2-19.entfixed: vendor fix RHSA-2004:687
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-24656)
- Published
Exploit prediction
9.73% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-24656 PHP 4.x/5.0.1 - PHP_Variables Remote Memory Disclosure remote, 2004-09-15
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Technology feeds
References
-
redhat.com
/support/errata/RHSA-2004-687.html
vendor-advisory, patch
-
bugzilla.fedora.us
/show_bug.cgi?id=2344
vendor-advisory
-
archives.neohapsis.com
/archives/vulnwatch/2004-q3/0053.html
mailing-list
-
marc.info
/?l=bugtraq&m=109527531130492&w=2
mailing-list
-
secunia.com
/advisories/12560/
third-party-advisory
-
securitytracker.com
/id?1011279
vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/17393
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10863
vdb-entry, signature
Sources
- CVE List CVE-2004-0958
- NVD CVE-2004-0958
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.