Medium, CVSS 5.5GoAmendedPublished
github.com/moby/sys/user has a possible DoS via unbounded parsing of user and group database files
CVE-2026-61801 · GHSA-mjcv-p78q-w5fw
- Affected
- Go github.com/moby/sys/user <= 0.4.0
- Fixed in
- 0.4.1· Vendor fix available
- Issue
- A denial-of-service (DoS) vulnerability exists in github.com/moby/sys/user before v0.4.1 when parsing specially crafted user or group database files. An attacker able to supply a malicious /etc/passwd or /etc/group-style file may cause excessive memory consumption, potentially resulting in process termination due to Out Of Memory (OOM) conditions. This issue is related to containerd [CVE-2026-47262] / GHSA-jpcc-p29g-p8mq, which describes one practical exploitation path through processing untrusted container image content. Applications using github.com/moby/sys/user to parse untrusted user or group database files may be similarly affected. Impact github.com/moby/sys/user versions before v0.4.1 do not place sufficient limits on entries while parsing user and group database files. A specially crafted file may cause excessive memory consumption, potentially leading to process termination due to Out Of Memory (OOM) conditions. Applications that use github.com/moby/sys/user to parse…
Recommended action: Upgrade to 0.4.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.