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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

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'}


Projects

Sign in to view the affected projects.

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

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-61801

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses