Incomplete fix for unbounded user and group file reads in moby/sys/user
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| mobysys/user |
< 0.5.1→ 0.5.1 |
0.5.1 |
| DockerDocker Engine |
< 29.10.1→ 29.10.1 |
29.10.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-135844 runc, docker Fix available
- Debian DEBIAN-CVE-2026-135844 golang-github-moby-sys Fix available
- Ubuntu UBUNTU-CVE-2026-135844 golang-github-moby-sys No fixed version in this record
Original description The description as published by the source.
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.
Source: Docker Engine (moby) releases NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- DOCKER-ENGINE v29.10.1
- patch github.com
- REDHAT Red Hat