CVE-2016-7125
php: Session Data Injection Vulnerability
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · September 2, 2016
Updated · June 28, 2026
Description
ext/session/session.c in PHP before 5.6.25 and 7.x before 7.0.10 skips invalid session names in a way that triggers incorrect parsing, which allows remote attackers to inject arbitrary-type session data by leveraging control of a session name, as demonstrated by object injection.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 · 4.3AV:N/AC:M/Au:N/C:N/I:P/A:N
CWE not specified