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

Published Nov 25, 2026
·
Updated

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 Software

1 affected component
go/github.com/moby/sys/user<v0.5.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 29.10.1
  2. Upgrade

    Upgrade moby/sys/user to a version that resolves this vulnerability.

    Fixed in v0.5.1

Event History

Nov 25, 2026
CVE Published
via MITRE·02:59 PM
Data Sourced
via MITRE·02:59 PM
DescriptionWeakness

Frequently Asked Questions

1

Which environments are exposed to this denial-of-service issue?

Applications are exposed if they use the affected github.com/moby/sys/user parsing or lookup functions on user or group files whose contents an attacker can control. One example is processing /etc/passwd or /etc/group supplied by a container image.

2

What does an attacker need to exploit it?

The attacker needs control over the contents of a user or group file that the application passes to an affected function. Whether exploitation is possible depends on how the consuming application uses those functions.

3

What is the impact of successful exploitation?

Affected functions may read large or unbounded files, allowing excessive memory or CPU consumption. This can cause a denial of service.

4

Which functions require review in unpatched applications?

Review uses of ParsePasswdFile, ParsePasswdFileFilter, GetAdditionalGroupsPath, ParseSubIDFile, ParseSubIDFileFilter, ParseIDMapFile, ParseIDMapFileFilter, LookupUser, LookupUid, LookupGroup, and LookupGid when they process attacker-controlled files.

5

What versions include the fix?

The issue is fixed in github.com/moby/sys/user v0.5.1, which enforces a 10 MiB read limit in all affected functions. Docker Engine 29.10.1 includes the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203