Symphony Denial of Service Via Overlong Usernames
The attemptAuthentication function in Component/Security/Http/Firewall/UsernamePasswordFormAuthenticationListener.php in Symfony before 2.3.41, 2.7.x before 2.7.13, 2.8.x before 2.8.6, and 3.0.x before 3.0.6 does not limit the length of a username stored in a session, which allows remote attackers to cause a denial of service (session storage consumption) via a series of authentication attempts with long, non-existent usernames.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | symfony/security | >= 2.3.0, < 2.3.41, >= 2.4.0, < 2.7.13, >= 2.8.0, < 2.8.6, >= 3.0.0, < 3.0.6 | 2.3.41, 2.7.13, 2.8.6, 3.0.6 |
| Composer package | symfony/security-http | >= 2.3.0, < 2.3.41, >= 2.4.0, < 2.7.13, >= 2.8.0, < 2.8.6, >= 3.0.0, < 3.0.6 | 2.3.41, 2.7.13, 2.8.6, 3.0.6 |
| Composer package | symfony/symfony | >= 2.3.0, < 2.3.41, >= 2.4.0, < 2.7.13, >= 2.8.0, < 2.8.6, >= 3.0.0, < 3.0.6 | 2.3.41, 2.7.13, 2.8.6, 3.0.6 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-4423
- https://github.com/symfony/symfony/pull/18733
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2016-4423.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2016-4423.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2016-4423.yaml
- https://github.com/symfony/symfony
- https://symfony.com/blog/cve-2016-4423-large-username-storage-in-session
- https://symfony.com/cve-2016-4423
- http://www.debian.org/security/2016/dsa-3588
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
-- Platform
- Composer
- Package
symfony/security, symfony/security-http, symfony/symfony- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-whgv-8cg3-7hcm - CC BY 4.0
Vulnerability history: symfony/security
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 17
- First → latest
- 02.2020 05.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 7
- Medium 6
- Low 1
Disclosures per year
- 2020: 2
- 2021: 1
- 2022: 14
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Symphony Denial of Service Via Overlong Usernames this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.