SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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.

EXPLOIT ✓MEDIUM 5.0EPSS 9.73%

Does this matter?

A public exploit is published in Exploit-DB (verified), so the technical barrier is gone even though the severity is medium and EPSS is 9.7%. Treat it as high on anything reachable from the internet.

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.

CVSS 2.0
5.0 MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS
9.73% probability · 95th percentile
Public exploits
1 in Exploit-DB · verified · first 15 September 2004
CISA KEV
Not listed
Affected
php/php
Source
cve@mitre.org
EPSS trend
0%5%10%26 October 2026: 9.73%26 October 202626 October 2026

EPSS 9.7% since 26 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-24656source ↗PHP 4.x/5.0.1 - PHP_Variables Remote Memory Disclosurephp · Stefano Di Paolaremote15 September 2004yes

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.