CVE-2026-135844
JSON

5.6medium

Incomplete fix for unbounded user and group file reads in moby/sys/user

Severity
5.6medium CVSS:4.0 by Docker
Exploit likelihood
0.29% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Docker

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

Product or packageVersionsReported by
github.com/moby/sys/userbefore 0.5.1CVE List
Docker Docker Enginebefore 29.10.1CVE List

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-135844 changed 2026-11-25CVE Terms of Use
NVDCVE-2026-135844 changed 2026-11-25Public domain