{"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","CWE-770"],"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"},{"url":"https://github.com/moby/sys"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-61801.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-61801"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2548048"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-61801"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61801"},{"url":"https://access.redhat.com/errata/RHSA-2026:76677"},{"url":"https://access.redhat.com/errata/RHSA-2026:76448"},{"url":"https://access.redhat.com/errata/RHSA-2026:76430"}],"tags":["nvd","cve.org","ghsa","go","osv","csaf","vex","red-hat"],"aliases":["GHSA-mjcv-p78q-w5fw","GO-2026-6686"],"ecosystem":"go","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T17:27:31.522788Z"},"ingestedAt":"2026-10-08T16:52:14.783Z","epss":0.00117,"epssPercentile":0.01638,"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\n\n## Vendor advisories\n\n- **RHSA-2026:76677** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:76677)\n- **RHSA-2026:76448** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:76448)\n- **RHSA-2026:76430** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-10-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:76430)\n- **Red Hat VEX** · Moderate · affected: Assisted Installer for Red Hat OpenShift Container Platform 2, Compliance Operator, Confidential Compute Attestation, Cryostat 4, Custom Metric Autoscaler operator for Red Hat Openshift, DPU kit for NVIDIA, … · no fix planned: Assisted Installer for Red Hat OpenShift Container Platform 2, Exploit Intelligence, Logging Subsystem for Red Hat OpenShift, Machine Deletion Remediation Operator, … · updated 2026-10-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-61801.json)","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}