# CVE-2026-135844: Incomplete fix for unbounded user and group file reads in moby/sys/user

> CVE-2026-135844: Incomplete fix for unbounded user and group file reads in moby/sys/user. CVSS 5.6 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2026-135844
Last updated: 2026-11-25T17:17:47Z

- Published: 2026-11-25 14:59 UTC · Updated: 2026-11-25 17:17 UTC · Assigner: Docker
- CVSS: 5.6 (CVSS 4.0) · Severity: Medium
- EPSS: 0.29%, 23th percentile (scored 2026-12-01)
- CISA KEV: no
- CWE: CWE-770

## Description

The fix for CVE-2026-61801 added file type and size checks when parsing user and group files in github.com/moby/sys/user, but did not apply them consistently across all parsing and lookup functions. ParsePasswdFile, ParsePasswdFileFilter, GetAdditionalGroupsPath, ParseSubIDFile, ParseSubIDFileFilter, ParseIDMapFile, ParseIDMapFileFilter, LookupUser, LookupUid, LookupGroup and LookupGid could still read large or unbounded files. An attacker who controls the contents of a user or group file processed by an affected application, such as /etc/passwd or /etc/group from a container image, can cause excessive memory or CPU consumption, resulting in a denial of service. Exploitation depends on how the consuming application uses the affected functions. Fixed in v0.5.1 by enforcing the 10 MiB read limit in all affected functions. Docker Engine 29.10.1 includes the fix.

## Affected vendors and products

- Docker: Docker Engine
- moby: sys/user

## Tracked companies

- [Docker](https://rewindex.com/company/docker.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-135844)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-135844)
- [https://github.com/moby/sys/releases/tag/user/v0.5.1](https://github.com/moby/sys/releases/tag/user/v0.5.1)
- [https://github.com/moby/sys/security/advisories/GHSA-ffh6-8jcg-cjmw](https://github.com/moby/sys/security/advisories/GHSA-ffh6-8jcg-cjmw)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-135844 · Markdown: https://rewindex.com/cve/CVE-2026-135844.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-135844 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-12-02T04:07:35.726Z
