Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.6CVE-2026-135844

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

moby sys/user

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135844: medium-severity vulnerability (CVSS 5.6) in moby sys/user.

What happened

Original description from 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.

Why it matters

Medium severity, CVSS 5.6.

Affected products and versions

moby sys/user < 0.5.1; Docker Docker Engine < 29.10.1

ProductVersionsFixed in
moby sys/user< 0.5.1—
Docker Docker Engine< 29.10.1—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-770

Relevant change history

  1. Published

    Preliminary advisory published.