Vulnerability Description
The `github.com/moby/sys/user` package provides Go utilities for parsing and looking up entries in Unix-style user and group database files. Versions before 0.4.1 do not sufficiently limit entries when parsing `/etc/passwd`- or `/etc/group`-style files, allowing an attacker who can supply a specially crafted file to cause excessive memory consumption and potentially terminate the affected process due to an out-of-memory condition. This issue is patched in version 0.4.1. As a workaround, avoid parsing attacker-controlled user or group database files, or validate and limit untrusted input before parsing it.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/moby/sys/commit/85a71bbe1faa36c552a960e6a5f3d0cfb632fbbe
- https://github.com/moby/sys/pull/221
- https://github.com/moby/sys/security/advisories/GHSA-mjcv-p78q-w5fw
FAQ
What is CVE-2026-61801?
CVE-2026-61801 is a vulnerability with a CVSS score of 5.5 (MEDIUM). The `github.com/moby/sys/user` package provides Go utilities for parsing and looking up entries in Unix-style user and group database files. Versions before 0.4.1 do not sufficiently limit entries whe...
How severe is CVE-2026-61801?
CVE-2026-61801 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-61801?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.