# CVE-2020-16127: accountsservice .pam\_environment infinite loop

- Priority: **Routine**
- Reason: Not severe (CVSS 2.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-11-11 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2020-16127
- Record: https://cvemate.com/vulnerability/CVE-2020-16127 · JSON: https://cvemate.com/vulnerability/CVE-2020-16127/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.414%, percentile 37.699%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- ubuntu accountsservice (Ubuntu): \< 0.6.55-0ubuntu12~20.04.4
- freedesktop accountsservice: ≥ 0.6.35-0ubuntu7.3, \< 0.6.35-0ubuntu7.3+esm2 \| ≥ 0.6.40-2ubuntu11, \< 0.6.40-2ubuntu11.6 \| ≥ 0.6.45-1ubuntu1, \< 0.6.45-1ubuntu1.3 \| ≥ 0.6.55-0ubuntu, \< 0.6.55-0ubuntu12~20.04.4 \| ≥ 0.6.55-0ubuntu13, \< 0.6.55-0ubuntu13.2 \| \< 0.6.55

## References

- <https://securitylab.github.com/advisories/GHSL-2020-187-accountsservice-drop-privs-DOS>
- <https://ubuntu.com/security/CVE-2020-16127>
- <https://ubuntu.com/security/notices/USN-4616-1>
- <https://www.cve.org/CVERecord?id=CVE-2020-16127>

---

Data as of 2026-12-05T07:51:40.050Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
