Live threats

All CVEs / Php

CVE-2016-7125Php

High 7.5 No auth needed

Priority
61
CVSS 3.0
7.5
EPSS
5.8%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Sep 12, 2016
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-74
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≤ 5.6.24
phpphp7.0.0
phpphp7.0.1
phpphp7.0.2
phpphp7.0.3
phpphp7.0.4
phpphp7.0.5
phpphp7.0.6
phpphp7.0.7
phpphp7.0.8
phpphp7.0.9

Official sources

References

Links published by the sources. Open them with care.