Security mailing lists by PureSourceCode

CVE-2016-10397

HIGH 7.5CVSS 3.0

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

Published
10 Jul 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-20
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD php php
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
<= 5.6.27
NVD php php
cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
= 7.0.0
NVD php php
cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
= 7.0.1
NVD php php
cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*
= 7.0.2
NVD php php
cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*
= 7.0.3
NVD php php
cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*
= 7.0.4
NVD php php
cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*
= 7.0.5
NVD php php
cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*
= 7.0.6
NVD php php
cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*
= 7.0.7
NVD php php
cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*
= 7.0.8
NVD php php
cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*
= 7.0.9
NVD php php
cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*
= 7.0.10
NVD php php
cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*
= 7.0.11
NVD php php
cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*
= 7.0.12

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 10 Jul 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.