Back
CVE-2004-0958
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…
Medium5.0EPSS 9.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
- EPSS (exploitation in 30 days)
- 9.7% · top 4.5% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
- n/a
Affected products
n/a
- affected n/a
References (8)
- 20040915 [VulnWatch] PHP Vulnerability N. 1 (opens in a new tab)mailing-listx_refsource_VULNWATCHx_transferred
- 20040915 PHP Vulnerability N. 1 (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 12560 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 1011279 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- FLSA:2344 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- php-phpinfo-disclose-memory(17393) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- oval:org.mitre.oval:def:10863 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- RHSA-2004:687 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2004-0958)Record last updated .