Live threats

All CVEs / Php

CVE-2016-10397Php

High 7.5 No auth needed

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).

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.27
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
phpphp7.0.10
phpphp7.0.11
phpphp7.0.12

Official sources

References

Links published by the sources. Open them with care.