CVE-2014-5244
Published:May 14, 2026
Updated:May 14, 2026
All 2.0.X, 2.1.X, 2.2.X, 2.3.X, 2.4.X, and 2.5.X versions of the Symfony HttpFoundation component are affected by this security issue. This issue has been fixed in Symfony 2.3.19, 2.4.9, and 2.5.4. Note that no fixes are provided for Symfony 2.0, 2.1, and 2.2 as they are not maintained anymore. Description When an arbitrarily long hostname is sent by a client, its parsing in "Request::getHost()" can lead to a DoS attack, due to the way we validate the hostname via a regular expression. Resolution The regular expression used to parse and validate the hostname from the HTTP request has been modified to avoid too much sensitivity to the submitted value length. The patch for this issue is available here: https://github.com/symfony/symfony/pull/11828
Affected Packages
symfony/http-foundation (PHP):
Affected version(s) >=v2.5.0 <v2.5.4Fix Suggestion:
Update to version v2.5.4symfony/http-foundation (PHP):
Affected version(s) >=v2.0.0 <v2.3.19Fix Suggestion:
Update to version v2.3.19symfony/symfony (PHP):
Affected version(s) >=v2.4.0 <v2.4.9Fix Suggestion:
Update to version v2.4.9symfony/symfony (PHP):
Affected version(s) >=v2.0.0 <v2.3.19Fix Suggestion:
Update to version v2.3.19symfony/http-foundation (PHP):
Affected version(s) >=v2.4.0 <v2.4.9Fix Suggestion:
Update to version v2.4.9symfony/symfony (PHP):
Affected version(s) >=v2.5.0 <v2.5.4Fix Suggestion:
Update to version v2.5.4Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Inefficient Regular Expression Complexity