Back
CVE-2016-7125
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,…
High7.5EPSS 5.8%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 5.8% · top 6.9% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (10)
- http://www.php.net/ChangeLog-7.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugs.php.net/bug.php?id=72681 (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-201611-22 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://github.com/php/php-src/commit/8763c6090d627d8bb0ee1d030c30e58f406be9ce?w=1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1036680 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- RHSA-2016:2750 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.tenable.com/security/tns-2016-19 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20160902 Re: CVE assignment for PHP 5.6.25 and 7.0.10 - and libcurl (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 92552 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2016-7125)Record last updated .