CVE-2026-135844

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

Published Nov 25, 2026 CVSS 4.0 · 5.6 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Incomplete fix for unbounded user and group file reads in moby/sys/user
Weaknesses CWE-770
References
Metrics cvssV4_0

{'score': 5.6, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
Docker
Published
Updated
Nov 25, 2026, 2:59 PM
Reserved
Nov 24, 2026, 10:22 AM

No data.