Home / Freedesktop / accountsservice / CVE-2020-16127
CVE-2020-16127: is it exploited, and which versions of Freedesktop accountsservice are affected and fixed?
CVE-2020-16127 is an improper input validation vulnerability in Freedesktop accountsservice. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: accountsservice from 0.6.35-0ubuntu7.3 before 0.6.35-0ubuntu7.3+esm2, accountsservice from 0.6.40-2ubuntu11 before 0.6.40-2ubuntu11.6, accountsservice from 0.6.45-1ubuntu1 before 0.6.45-1ubuntu1.3 and 2 more (CVE record by canonical). Fixed in 0.6.35-0ubuntu7.3+esm2, 0.6.40-2ubuntu11.6, 0.6.45-1ubuntu1.3, 0.6.55-0ubuntu12~20.04.4 and 1 more (CVE record by canonical). Severity: Low (2.8, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:06 UTC.
What is CVE-2020-16127?
accountsservice .pam_environment infinite loop
An Ubuntu-specific modification to AccountsService in versions before 0.6.55-0ubuntu13.2, among other earlier versions, would perform unbounded read operations on user-controlled ~/.pam_environment files, allowing an infinite loop if /dev/zero is symlinked to this location.
From the CVE record by canonical, last updated September 16, 2024, 17:58 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Freedesktop | accountsservice | from 0.6.35-0ubuntu7.3 before 0.6.35-0ubuntu7.3+esm2 from 0.6.40-2ubuntu11 before 0.6.40-2ubuntu11.6 from 0.6.45-1ubuntu1 before 0.6.45-1ubuntu1.3 from 0.6.55-0ubuntu before 0.6.55-0ubuntu12~20.04.4 from 0.6.55-0ubuntu13 before 0.6.55-0ubuntu13.2 | 0.6.35-0ubuntu7.3+esm2, 0.6.40-2ubuntu11.6, 0.6.45-1ubuntu1.3, 0.6.55-0ubuntu12~20.04.4, 0.6.55-0ubuntu13.2 |
As the CVE record by canonical states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| freedesktop | accountsservice | before 0.6.55 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:57 UTC.
How severe is CVE-2020-16127?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L | canonical |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
| Low 2.1 | CVSS 2.0 | AV:L/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-16127 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.41% probability of exploitation activity in the next 30 days, percentile 37.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://securitylab.github.com/advisories/GHSL-2020-187-accountsservice-drop-privs-DOS x_refsource_MISC
Who found and reported it?
- Kevin Backhouse (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 29, 2020
- Published
- November 11, 2020, 04:10 UTC
- CVE record updated
- September 16, 2024, 17:58 UTC by canonical
- NVD
- Modified, last modified June 17, 2026, 02:57 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:06 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect accountsservice?
- Nov 11, 2020CVE-2020-16126 Freedesktop accountsservice: privilege escalation (improper privilege management)
- Jul 13, 2018CVE-2018-14036 Freedesktop Accountsservice: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2020-16127
Is CVE-2020-16127 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.41% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Freedesktop accountsservice are affected by CVE-2020-16127?
accountsservice from 0.6.35-0ubuntu7.3 before 0.6.35-0ubuntu7.3+esm2, accountsservice from 0.6.40-2ubuntu11 before 0.6.40-2ubuntu11.6, accountsservice from 0.6.45-1ubuntu1 before 0.6.45-1ubuntu1.3, accountsservice from 0.6.55-0ubuntu before 0.6.55-0ubuntu12~20.04.4 and accountsservice from 0.6.55-0ubuntu13 before 0.6.55-0ubuntu13.2, per the CVE record by canonical. The tables above give every range the sources list.
Which version fixes CVE-2020-16127?
0.6.35-0ubuntu7.3+esm2, 0.6.40-2ubuntu11.6, 0.6.45-1ubuntu1.3, 0.6.55-0ubuntu12~20.04.4 and 0.6.55-0ubuntu13.2, per the CVE record by canonical. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-16127?
Low (2.8, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2020-16127?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.