Vulnerabilities · 2004 · Php
CVE-2004-0958
Php vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.redhat.com/support/errata/RHSA-2004-687.html · Patch
- archives.neohapsis.com/archives/vulnwatch/2004-q3/0053.html
- marc.info/?l=bugtraq&m=109527531130492&w=2
- secunia.com/advisories/12560/
- securitytracker.com/id?1011279
- bugzilla.fedora.us/show_bug.cgi?id=2344
- exchange.xforce.ibmcloud.com/vulnerabilities/17393
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10863
- nvd.nist.gov/vuln/detail/CVE-2004-0958
- cve.org/CVERecord?id=CVE-2004-0958
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.