CVE-2016-4476
hostapd 0.6.7 through 2.5 and wpa_supplicant 0.6.7 through 2.5 do not reject \n and \r characters...
hostapd 0.6.7 through 2.5 and wpa_supplicant 0.6.7 through 2.5 do not reject \n and \r characters in passphrase parameters, which allows remote attackers to cause a denial of service (daemon outage) via a crafted WPS operation.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
hostapd 0.6.7 through 2.5 and wpa_supplicant 0.6.7 through 2.5 do not reject \n and \r characters in passphrase parameters, which allows remote attackers to cause a denial of service (daemon outage) via a crafted WPS operation.
- Record
CVE-2016-4476- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
hostapd 0.6.7 through 2.5 and wpa_supplicant 0.6.7 through 2.5 do not reject \n and \r characters in passphrase parameters, which allows remote attackers to cause a denial of service (daemon outage) via a crafted WPS operation.
- Record
CVE-2016-4476- Updated
- 2026-11-02
EUVDEUVD-2016-5463 No score
hostapd 0.6.7 through 2.5 and wpa_supplicant 0.6.7 through 2.5 do not reject \n and \r characters in passphrase parameters, which allows remote attackers to cause a denial of service (daemon outage) via a crafted WPS operation.
- Record
EUVD-2016-5463- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-p986-2574-rgvr
7.5
hostapd 0.6.7 through 2.5 and wpa_supplicant 0.6.7 through 2.5 do not reject \n and \r characters...
hostapd 0.6.7 through 2.5 and wpa_supplicant 0.6.7 through 2.5 do not reject \n and \r characters in passphrase parameters, which allows remote attackers to cause a denial of service (daemon outage) via a crafted WPS operation.
- Record
GHSA-p986-2574-rgvr- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVALPINE-CVE-2016-4476
7.5
hostapd 0.6.7 through 2.5 and wpa_supplicant 0.6.7 through 2.5 do not reject \n and \r characters in passphrase parameters, which allows remote attackers to cause a denial of service (daemon outage) via a crafted WPS operation.
- Record
ALPINE-CVE-2016-4476- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
hostapd 0.6.7 through 2.5 and wpa_supplicant 0.6.7 through 2.5 do not reject \n and \r characters in passphrase parameters, which allows remote attackers to cause a denial of service (daemon outage) via a crafted WPS operation.
- Record
CVE-2016-4476- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2016-4476
7.5
hostapd 0.6.7 through 2.5 and wpa_supplicant 0.6.7 through 2.5 do not reject \n and \r characters in passphrase parameters, which allows remote attackers to cause a denial of service (daemon outage) via a crafted WPS operation.
- Record
DEBIAN-CVE-2016-4476- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-4476
7.5
hostapd 0.6.7 through 2.5 and wpa_supplicant 0.6.7 through 2.5 do not reject \n and \r characters in passphrase parameters, which allows remote attackers to cause a denial of service (daemon outage) via a crafted WPS operation.
- Record
UBUNTU-CVE-2016-4476- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2016-0199 No score
Updated wpa_supplicant packages fix security vulnerabilities
Updated wpa_suppliant packages fix security vulnerabilities:
A vulnerability was found in how wpa_supplicant writes the configuration file update for the WPA/WPA2 passphrase parameter. If this parameter has been updated to include control characters either through a WPS operation (CVE-2016-4476) or through local configuration change over the wpa_supplicant control interface (CVE-2016-4477), the resulting configuration file may prevent the wpa_supplicant from starting when the updated file is used. In addition, it may be possible to load a local library file and execute code from there with the same privileges under which the wpa_supplicant process runs.
- Record
MGASA-2016-0199- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10022-1 No score
hostapd-2.6-1.1 on GA media
These are all security issues fixed in the hostapd-2.6-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10022-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10499-1 No score
wpa_supplicant-2.6-1.1 on GA media
These are all security issues fixed in the wpa_supplicant-2.6-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10499-1- Updated
- 2026-11-02
OSVUSN-3455-1 No score
wpa vulnerabilities
Mathy Vanhoef discovered that wpa_supplicant and hostapd incorrectly handled WPA2. A remote attacker could use this issue with key reinstallation attacks to obtain sensitive information. (CVE-2017-13077, CVE-2017-13078, CVE-2017-13079, CVE-2017-13080, CVE-2017-13081, CVE-2017-13082, CVE-2017-13086, CVE-2017-13087, CVE-2017-13088)
Imre Rad discovered that wpa_supplicant and hostapd incorrectly handled invalid characters in passphrase parameters. A remote attacker could use this issue to cause a denial of service. (CVE-2016-4476)
Imre Rad discovered that wpa_supplicant and hostapd incorrectly handled invalid characters in passphrase parameters. A local attacker could use this issue to cause a denial of service, or possibly execute arbitrary code. (CVE-2016-4477)
- Record
USN-3455-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
wpa_supplicantAlpine:v3.4 |
0.6.7 up to 2.5-r3 | 2.5-r3 |
wpaDebian:12 |
before 2.3-2.4 | 2.3-2.4 |
wpaDebian:13 |
before 2.3-2.4 | 2.3-2.4 |
wpaDebian:14 |
before 2.3-2.4 | 2.3-2.4 |
wpaDebian:7 |
before 1.0-3+deb7u4, plus listed versions 1.0-31.0-3+deb7u11.0-3+deb7u21.0-3+deb7u3 |
1.0-3+deb7u4 |
wpa_supplicantMageia:5 |
before 2.3-3.1.mga5 | 2.3-3.1.mga5 |
wpaUbuntu:14.04:LTS |
before 2.1-0ubuntu1.5, plus listed versions 1.0-3ubuntu21.0-3ubuntu31.0-3ubuntu42.1-0ubuntu12.1-0ubuntu1.12.1-0ubuntu1.22.1-0ubuntu1.32.1-0ubuntu1.4 |
2.1-0ubuntu1.5 |
wpaUbuntu:16.04:LTS |
before 2.4-0ubuntu6.2, plus listed versions 2.4-0ubuntu32.4-0ubuntu42.4-0ubuntu52.4-0ubuntu6 |
2.4-0ubuntu6.2 |
wpaUbuntu:18.04:LTS |
before 2.4-0ubuntu10 | 2.4-0ubuntu10 |
hostapdopenSUSE:Tumbleweed |
before 2.6-1.1 | 2.6-1.1 |
wpa_supplicantopenSUSE:Tumbleweed |
before 2.6-1.1 | 2.6-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-4476 is a high vulnerability (CVSS 7.5) in W1.fi Hostapd, published May 9, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.86%, the 86th percentile. Fixed in wpa_supplicant 2.5-r3.
References
openwall.com/lists/oss-security/2016/05/03/12
ubuntu.com/usn/USN-3455-1
nvd.nist.gov/vuln/detail/CVE-2016-4476
github.com/advisories/GHSA-p986-2574-rgvr
security.alpinelinux.org/vuln/CVE-2016-4476
security-tracker.debian.org/tracker/CVE-2016-4476
Show 31 moreShow less
advisories.mageia.org/MGASA-2016-0199.html
bugs.mageia.org/show_bug.cgi?id=18335
w1.fi/security/2016-1/psk-parameter-config-update.txt
ubuntu.com/security/CVE-2016-4476
w1.fi/security/2016-1
ubuntu.com/security/notices/USN-3455-1
cve.org/CVERecord?id=CVE-2016-4476
ubuntu.com/security/CVE-2016-4477
ubuntu.com/security/CVE-2017-13077
ubuntu.com/security/CVE-2017-13078
ubuntu.com/security/CVE-2017-13079
ubuntu.com/security/CVE-2017-13080
ubuntu.com/security/CVE-2017-13081
ubuntu.com/security/CVE-2017-13082
ubuntu.com/security/CVE-2017-13086
ubuntu.com/security/CVE-2017-13087
ubuntu.com/security/CVE-2017-13088
suse.com/security/cve/CVE-2014-3686
suse.com/security/cve/CVE-2015-1863
suse.com/security/cve/CVE-2015-4141
suse.com/security/cve/CVE-2015-4142
suse.com/security/cve/CVE-2015-4143
suse.com/security/cve/CVE-2015-4144
suse.com/security/cve/CVE-2015-4145
suse.com/security/cve/CVE-2015-5314
suse.com/security/cve/CVE-2016-4476
suse.com/security/cve/CVE-2015-4146
suse.com/security/cve/CVE-2015-5310
suse.com/security/cve/CVE-2015-5315
suse.com/security/cve/CVE-2015-5316
suse.com/security/cve/CVE-2016-4477