# CVE-2020-16127: accountsservice .pam_environment infinite loop

- Severity: Low 2.8 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-11-11T04:10:15.512Z
- Modified: 2026-06-17T02:57:45.447Z
- Weaknesses: CWE-20, CWE-835
- Assigned by: canonical

## Description

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.

(As written by CVE List.)

## Affected

- 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; before 0.6.55

## Every score

- canonical: CVSS:3.1 2.8 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://securitylab.github.com/advisories/GHSL-2020-187-accountsservice-drop-privs-DOS> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2020-16127](https://www.cve.org/CVERecord?id=CVE-2020-16127), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2020-16127](https://nvd.nist.gov/vuln/detail/CVE-2020-16127), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-16127 · Whole record: https://cve.day/CVE-2020-16127.json · Rebuilt by cve.day 2026-11-25T22:57:55.678Z
