{"id":"CVE-2016-7125","url":"https://www.cyber-defence.io/tools/cve/CVE-2016-7125","generatedAt":"2026-10-28T21:17:07.745Z","title":"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…","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.","published":"2016-09-12T01:59:03.000Z","lastModified":"2026-06-17T00:52:38.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"cwe":["CWE-74"],"affected":["php/php"],"epss":{"score":0.0578,"percentile":0.93055,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (5.78%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://openwall.com/lists/oss-security/2016/09/02/9","tags":["Mailing List"],"source":"cve@mitre.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","source":"cve@mitre.org"},{"url":"http://www.php.net/ChangeLog-5.php","tags":["Release Notes"],"source":"cve@mitre.org"},{"url":"http://www.php.net/ChangeLog-7.php","tags":["Release Notes"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/92552","source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id/1036680","source":"cve@mitre.org"},{"url":"https://bugs.php.net/bug.php?id=72681","tags":["Exploit","Issue Tracking"],"source":"cve@mitre.org"},{"url":"https://github.com/php/php-src/commit/8763c6090d627d8bb0ee1d030c30e58f406be9ce?w=1","tags":["Issue Tracking","Patch"],"source":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/201611-22","source":"cve@mitre.org"},{"url":"https://www.tenable.com/security/tns-2016-19","source":"cve@mitre.org"},{"url":"http://openwall.com/lists/oss-security/2016/09/02/9","tags":["Mailing List"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/ChangeLog-5.php","tags":["Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/ChangeLog-7.php","tags":["Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/92552","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1036680","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.php.net/bug.php?id=72681","tags":["Exploit","Issue Tracking"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/php/php-src/commit/8763c6090d627d8bb0ee1d030c30e58f406be9ce?w=1","tags":["Issue Tracking","Patch"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/201611-22","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.tenable.com/security/tns-2016-19","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-7125","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}