CVE-2026-61801: CWE-400: Uncontrolled Resource Consumption in moby sys
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 v3.1
Score 5.5medium
Affected software
moby
sys
pkg:golang/github.com/moby/sys/userRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The github.com/moby/sys/user package provides utilities for parsing Unix-style user and group database files such as /etc/passwd and /etc/group. Versions prior to 0.4.1 do not impose sufficient limits on the number of entries parsed, enabling an attacker who can supply a specially crafted file to cause excessive memory consumption. This can result in the affected process terminating due to out-of-memory conditions. The vulnerability is identified as CWE-400 (Uncontrolled Resource Consumption) and has a CVSS 3.1 base score of 5.5 (medium severity). The issue is patched in version 0.4.1.
Potential Impact
An attacker able to supply a maliciously crafted user or group database file can cause excessive memory consumption in the affected process, potentially leading to its termination due to out-of-memory conditions. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
This vulnerability is fixed in version 0.4.1 of the github.com/moby/sys/user package. Users should upgrade to version 0.4.1 or later. As a workaround, avoid parsing user or group database files that can be controlled by an attacker, or validate and limit untrusted input before parsing it.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-10T20:06:05.617Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac7c7552cdf04f6562a0004
Added to database: 10/08/2026, 16:39:49 UTC
Last enriched: 10/08/2026, 16:48:22 UTC
Last updated: 10/08/2026, 18:06:37 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.