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.
Published: 2026-10-08
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

The Go package provides utilities for parsing Unix-style user and group database files. Prior to version 0.4.1 it does not limit the number of entries processed from files such as /etc/passwd or /etc/group. An attacker who can supply a specially crafted file may cause the parsing routine to allocate excessive amounts of memory, potentially leading to an out‑of‑memory situation and terminating the process that imports the library. The weakness is identified as an uncontrolled resource consumption flaw (CWE‑400 and CWE‑770).

Affected Systems

The vulnerability affects the moby:sys package at github.com/moby/sys/user. Any application using this package, in versions earlier than 0.4.1, is susceptible if it processes user or group database files that could be supplied by an attacker. The issue is resolved in release 0.4.1.

Risk and Exploitability

The CVSS base score is 5.5, indicating moderate severity. The EPSS score is not available, and the vulnerability is not currently listed in CISA KEV. The attack requires the ability to provide a crafted user or group file to the parsing function; it does not require network access or elevated privileges. An attacker who can influence the input can trigger denial of service by exhausting memory allocation.

Generated by OpenCVE AI on October 9, 2026 at 13:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the moby:sys user package to version 0.4.1 or later.
  • Avoid parsing user or group database files that come from untrusted sources.
  • Validate and constrain input before parsing, for example by limiting the number of entries or total file size.

Generated by OpenCVE AI on October 9, 2026 at 13:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mjcv-p78q-w5fw github.com/moby/sys/user has a possible DoS via unbounded parsing of user and group database files
History

Fri, 09 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-770
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 09 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Moby
Moby sys
Vendors & Products Moby
Moby sys

Thu, 08 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 08 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title github.com/moby/sys/user has a possible DoS via unbounded parsing of user and group database files
Weaknesses CWE-400
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-08T17:27:37.645Z

Reserved: 2026-07-10T20:06:05.617Z

Link: CVE-2026-61801

cve-icon Vulnrichment

Updated: 2026-10-08T17:27:34.657Z

cve-icon NVD

Status : Deferred

Published: 2026-10-08T17:17:17.433

Modified: 2026-10-08T21:35:53.890

Link: CVE-2026-61801

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-08T16:22:25Z

Links: CVE-2026-61801 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T13:45:06Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling