All vulnerabilities

Servers and applications

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 variables that end in an open bracket character, which causes PHP to calculate an incorrect string length.

Severity
Medium 5.0
Published
3 Nov 2004
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
9.7% in the next 30 daysHigher than 95% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Read some data
CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Every version up to 5.0.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2004-0958
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2004-0958