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, which allows remote attackers to inject arbitrary-type session
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 5.78% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 92.7% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2016-09-12 01:00Z10 YR AGO
- Last updated
- 2024-08-06 01:50Z2 YR AGO
- Reserved
- 2016-09-02
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')Class
- Data version
- 5.1
- Document digest
- 8a1a77e7a7ddc9144c0bbf0e6f0913f41bd07b0915ca6b3d44507192c1746f1c
05 Affected products
06 References
- www.php.nethttp://www.php.net/ChangeLog-7.php
- bugs.php.nethttps://bugs.php.net/bug.php?id=72681
- security.gentoo.orgGLSA-201611-22https://security.gentoo.org/glsa/201611-22
- github.comhttps://github.com/php/php-src/commit/8763c6090d627d8bb0ee1d030c30e58f406be9ce?w=1
- www.securitytracker.com1036680http://www.securitytracker.com/id/1036680
- rhn.redhat.comRHSA-2016:2750http://rhn.redhat.com/errata/RHSA-2016-2750.html
- www.php.nethttp://www.php.net/ChangeLog-5.php
- www.tenable.comhttps://www.tenable.com/security/tns-2016-19
- openwall.com[oss-security] 20160902 Re: CVE assignment for PHP 5.6.25 and 7.0.10 - and libcurlhttp://openwall.com/lists/oss-security/2016/09/02/9
- www.securityfocus.com92552http://www.securityfocus.com/bid/92552
07 Fixed in
Arch Linux
- php Fixed in 7.0.10-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- php5 Fixed in 5.5.9+dfsg-1ubuntu4.20
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- php7.0 Fixed in 7.0.8-0ubuntu0.16.04.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.