{"id":"CVE-2026-61801","aliases":["CVE-2026-61801","GHSA-mjcv-p78q-w5fw","GO-2026-6686"],"related":[],"kind":"vulnerability","state":"published","title":"github.com/moby/sys/user has a possible DoS via unbounded parsing of 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/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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"A denial-of-service (DoS) vulnerability exists in `github.com/moby/sys/user` before v0.4.1 when parsing specially crafted user or group database files. An attacker able to supply a malicious `/etc/passwd` or `/etc/group`-style file may cause excessive memory consumption, potentially resulting in process termination due to Out Of Memory (OOM) conditions.\n\nThis issue is related to containerd [CVE-2026-47262] / [GHSA-jpcc-p29g-p8mq](https://github.com/containerd/containerd/security/advisories/GHSA-jpcc-p29g-p8mq), which describes one practical exploitation path through processing untrusted container image content. Applications using `github.com/moby/sys/user` to parse untrusted user or group database files may be similarly affected.\n\n### Impact\n\n`github.com/moby/sys/user` versions before v0.4.1 do not place sufficient limits on entries while parsing user and group database files. A specially crafted file may cause excessive memory consumption, potentially leading to process termination due to Out Of Memory (OOM) conditions.\n\nApplications that use `github.com/moby/sys/user` to parse user-supplied or otherwise untrusted `/etc/passwd` or `/etc/group` files may be affected. The severity depends on whether an attacker can influence the contents of files being parsed.\n\n### Patches\n\nThis issue is fixed in `github.com/moby/sys/user` v0.4.1. Users should upgrade to v0.4.1 or later.\n\n### Workarounds\n\nAvoid parsing attacker-controlled `/etc/passwd` or `/etc/group`-style files with affected versions of `github.com/moby/sys/user`.\n\nApplications that must process untrusted user or group database files should validate and limit accepted input before parsing. Upgrading to v0.4.1 or later is the recommended remediation.\n\n### References\n\n* containerd CVE-2026-47262 / GHSA-jpcc-p29g-p8mq: https://github.com/containerd/containerd/security/advisories/GHSA-jpcc-p29g-p8mq\n* Fix in `github.com/moby/sys/user`: https://github.com/moby/sys/user/commit/210d32ba2bcb4544ee968c7f31249fe59796e60b","format":"markdown","source":"ghsa"},{"lang":"en","text":"Possible DoS via unbounded parsing of user and group database files in github.com/moby/sys/user","format":"markdown","source":"go"}],"published":"2026-10-08T16:08:33.000Z","modified":"2026-10-19T21:40:47.349Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"< 0.4.1","status":"affected"}],"vendor":"moby","product":"sys","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.1"}],"ecosystem":"Go","package":"github.com/moby/sys/user","purl":"pkg:golang/github.com/moby/sys/user","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.1"}],"ecosystem":"Go","package":"github.com/moby/sys/user","purl":"pkg:golang/github.com/moby/sys/user","source":"go"}],"references":[{"url":"https://github.com/moby/sys/security/advisories/GHSA-mjcv-p78q-w5fw","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/moby/sys/pull/221","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/moby/sys/commit/85a71bbe1faa36c552a960e6a5f3d0cfb632fbbe","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/moby/sys","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-08T17:27:31.522Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-61801","url":"https://www.cve.org/CVERecord?id=CVE-2026-61801","licence":"CVE Terms of Use","modified":"2026-10-08T17:27:37.645Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mjcv-p78q-w5fw","url":"https://github.com/advisories/GHSA-mjcv-p78q-w5fw","licence":"CC-BY-4.0","modified":"2026-10-19T21:40:47.349Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6686","url":"https://pkg.go.dev/vuln/GO-2026-6686","licence":"CC-BY-4.0","modified":"2026-10-19T21:31:35.458Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-61801","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61801","licence":"Public domain","modified":"2026-10-08T21:35:53.890Z"}],"updatedAt":"2026-11-25T22:59:43.193Z","epss":{"score":0.00205,"percentile":0.11101,"date":"2026-12-01T12:00:22.000Z"}}