IsItPatchedInstant security status for any software version
← All products

CVE-2017-7272

HIGH severity · CVSS 7.4 · Server-side request forgery (SSRF)
7.4CVSS HIGH

Summary

PHP through 7.1.11 enables potential SSRF in applications that accept an fsockopen or pfsockopen hostname argument with an expectation that the port number is constrained. Because a :port syntax is recognized, fsockopen will use the port number that is specified in the hostname argument, instead of the port number in the second argument of the function.

Impact & exploitability

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionRequired
Confidentiality impactNone
Integrity impactHigh
Availability impactNone
Exploit probability (EPSS)1%

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N

Affected products we track (1)

PHP

Recommendation

Apply the vendor fix promptly. Open any affected product above for its exact safe version.

Official patch: https://github.com/php/php-src/commit/bab0b99f376dac9170ac81382a5ed526938d595a ↗

Last checked: Wed, 10 Jun 2026 22:18:30 UTC