ADVISORIES

Vulnerability

CVE-2026-61801

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.

336 advisories report this vulnerability, across 10 ecosystems.

Advisories in Go

  • GHSA-mjcv-p78q-w5fw

    github.com/moby/sys/user has a possible DoS via unbounded parsing of user and group database files

    Moderate CVE-2026-61801 Go Updated 19 October 2026
  • GO-2026-6686

    Possible DoS via unbounded parsing of user and group database files in github.com/moby/sys/user

    CVE-2026-61801 Go Updated 19 October 2026

References