{"id":"CVE-2026-61801","title":"The `github.com/moby/sys/user` package provides Go utilities for parsing and looking up entries in Unix-style user and group database files","summary":"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/gro…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-400"],"vendor":"moby","product":"sys","affected":["sys < 0.4.1"],"patched":["github.com/moby/sys/user 0.4.1"],"published":"2026-10-08","updated":"2026-10-08","sourceUpdated":"2026-10-08T21:35:53.890","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-61801","references":[{"url":"https://github.com/moby/sys/commit/85a71bbe1faa36c552a960e6a5f3d0cfb632fbbe","label":"security-advisories@github.com"},{"url":"https://github.com/moby/sys/pull/221","label":"security-advisories@github.com"},{"url":"https://github.com/moby/sys/security/advisories/GHSA-mjcv-p78q-w5fw","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-mjcv-p78q-w5fw"}],"tags":["nvd","cve.org","ghsa","go"],"aliases":["GHSA-mjcv-p78q-w5fw"],"ecosystem":"go","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T17:27:31.522788Z"},"ingestedAt":"2026-10-08T16:52:14.783Z","slug":"CVE-2026-61801","body":"## Overview\n\nThe `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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-61801)\n\nAffected packages:\n\n- `github.com/moby/sys/user <= 0.4.0`\n\nPatched in:\n\n- `github.com/moby/sys/user 0.4.1`\n\nSource: https://github.com/advisories/GHSA-mjcv-p78q-w5fw","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}