# CVE-2016-4477: hostapd: wpa_supplicant 0.4.0 through 2.5 does not reject \n and \r characters in passphrase parameters, which allows local us...

CVE-2016-4477 is fixed in 3 products on 1 platform, first by hostapd 1:2.4-0ubuntu10, released October 15, 2017. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2016-4477
- Priority: Routine
- CVSS: n/a (Low)
- EPSS: 0.0026
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 8, 2016

## Description

wpa_supplicant 0.4.0 through 2.5 does not reject \n and \r characters in passphrase parameters, which allows local users to trigger arbitrary library loading and consequently gain privileges, or cause a denial of service (daemon outage), via a crafted (1) SET, (2) SET_CRED, or (3) SET_NETWORK command.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | hostapd Ubuntu 18.04.6 LTS (bionic) | 1:2.4-0ubuntu10 | [hostapd 1:2.4-0ubuntu10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-hostapd-1-2.4-0ubuntu10.md) | Oct 15, 2017 |
| Linux | wpagui Ubuntu 18.04.6 LTS (bionic) | 2.4-0ubuntu10 | [wpagui 2.4-0ubuntu10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-wpagui-2.4-0ubuntu10.md) | Oct 15, 2017 |
| Linux | wpasupplicant Ubuntu 18.04.6 LTS (bionic) | 2.4-0ubuntu10 | [wpasupplicant 2.4-0ubuntu10](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-wpasupplicant-2.4-0ubuntu10.md) | Oct 15, 2017 |

---

Data as of 2026-11-07T06:34:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
