CVE-2026-61801

NameCVE-2026-61801
DescriptionThe `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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-moby-sys (PTS)bookworm0.0~git20220606.416188a-1vulnerable
trixie0.0~git20241107.638aa7c-2vulnerable
forky, sid0.0~git20260904.79376e0-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-moby-syssource(unstable)(unfixed)

Notes

https://github.com/moby/sys/security/advisories/GHSA-mjcv-p78q-w5fw
https://github.com/moby/sys/pull/221
Fixed by: https://github.com/moby/sys/commit/2c56c3d5d089bfa66d01b6c0bb69428e9d5d18c5 (user/v0.4.1)
Fixed by: https://github.com/moby/sys/commit/bba2f13154cb607bfbc7e209f8d9100ef4000329 (user/v0.4.1)

Search for package or bug name: Reporting problems