CVE-2016-10397Php
High 7.5 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Jul 10, 2017
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
In PHP before 5.6.28 and 7.x before 7.0.13, incorrect handling of various URI components in the URL parser could be used by attackers to bypass hostname-specific URL checks, as demonstrated by evil.example.com:80#@good.example.com/ and evil.example.com:80?@good.example.com/ inputs to the parse_url function (implemented in the php_url_parse_ex function in ext/standard/url.c).
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≤ 5.6.27 |
| php | php | 7.0.0 |
| php | php | 7.0.1 |
| php | php | 7.0.2 |
| php | php | 7.0.3 |
| php | php | 7.0.4 |
| php | php | 7.0.5 |
| php | php | 7.0.6 |
| php | php | 7.0.7 |
| php | php | 7.0.8 |
| php | php | 7.0.9 |
| php | php | 7.0.10 |
| php | php | 7.0.11 |
| php | php | 7.0.12 |
Official sources
References
Links published by the sources. Open them with care.
- git.php.net
- openwall.com Mailing List Patch Third Party Advisory
- php.net Release Notes Vendor Advisory
- php.net Release Notes Vendor Advisory
- www.securityfocus.com
- bugs.php.net Issue Tracking Third Party Advisory
- security.netapp.com