All vulnerabilities

Servers and applications

CVE-2016-10397

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:[email protected]/ inputs to the parse_url function (implemented in the php_url_parse_ex function in ext/standard/url.c).

Severity
High 7.5
Published
10 Jul 2017
Last changed
17 Jun 2026
Added to UpHeron
14 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 7.0.12
  • Version 7.0.11
  • Version 7.0.10
  • Version 7.0.9
All 14 release lines
  • Every version up to 5.6.27
  • Version 7.0.0
  • Version 7.0.1
  • Version 7.0.2
  • Version 7.0.3
  • Version 7.0.4
  • Version 7.0.5
  • Version 7.0.6
  • Version 7.0.7
  • Version 7.0.8
  • Version 7.0.9
  • Version 7.0.10
  • Version 7.0.11
  • Version 7.0.12

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2016-10397
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2016-10397