What’s Vulnerable › Vulnerabilities
CVE-2004-0958
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 9.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2004-11-03 · updated 2026-06-16
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.
Affected products
- PHP: through 5.0.2
References
- http://archives.neohapsis.com/archives/vulnwatch/2004-q3/0053.html
- http://marc.info/?l=bugtraq&m=109527531130492&w=2
- http://secunia.com/advisories/12560/
- http://securitytracker.com/id?1011279
- http://www.redhat.com/support/errata/RHSA-2004-687.html
- https://bugzilla.fedora.us/show_bug.cgi?id=2344
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17393
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10863
- http://archives.neohapsis.com/archives/vulnwatch/2004-q3/0053.html
- http://marc.info/?l=bugtraq&m=109527531130492&w=2
- http://secunia.com/advisories/12560/
- http://securitytracker.com/id?1011279
Get alerted when CVE-2004-0958 or the next vulnerability affects your stack