Skip to content
Heist/ feed
Back to feed
Medium

golang-github-moby-sys — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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.

Products
golang-github-moby-sys
Affected versions
0.0~git20201113.5a29239-1, 0.0~git20220215.b8d8fab-1, 0.0~git20220215.b8d8fab-2, 0.0~git20220606.416188a-1, 0.0~git20231105.a4e0878-1, 0.0~git20241107.638aa7c-2, 0.0~git20250819.9dc3a90-1
Fixed versions
Not specified
CVEs
CVE-2026-61801
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:39 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-61801

core-osv · Original source

Published 8 Oct 2026, 17:17 UTC

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.

osv:UBUNTU-CVE-2026-61801

golang-github-moby-sys

Fixed versions: Not specified

golang-github-moby-sys

Fixed versions: Not specified

golang-github-moby-sys

Fixed versions: Not specified

golang-github-moby-sys

Fixed versions: Not specified

Complete source record
{
  "id": "215ab3df1a7dfe55a2f2b593eee43dfb31a52a51c4d14a6b8c616eb9f0823352",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-61801",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-61801",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2026-61801",
    "products": [
      {
        "name": {
          "value": "golang-github-moby-sys",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0~git20201113.5a29239-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0~git20220215.b8d8fab-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0~git20220215.b8d8fab-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-moby-sys",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0~git20220606.416188a-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.0~git20231105.a4e0878-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-moby-sys",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0~git20250819.9dc3a90-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-moby-sys",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0~git20241107.638aa7c-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.0~git20250819.9dc3a90-1",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-61801",
      "aliases": [
        "UBUNTU-CVE-2026-61801"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-moby-sys",
            "purl": "pkg:deb/ubuntu/golang-github-moby-sys?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.0~git20201113.5a29239-1",
            "0.0~git20220215.b8d8fab-1",
            "0.0~git20220215.b8d8fab-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61801.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-moby-sys-dev",
                "binary_version": "0.0~git20220215.b8d8fab-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-moby-sys",
            "purl": "pkg:deb/ubuntu/golang-github-moby-sys?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.0~git20220606.416188a-1",
            "0.0~git20231105.a4e0878-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61801.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-moby-sys-dev",
                "binary_version": "0.0~git20231105.a4e0878-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-moby-sys",
            "purl": "pkg:deb/ubuntu/golang-github-moby-sys?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.0~git20250819.9dc3a90-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61801.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-moby-sys-dev",
                "binary_version": "0.0~git20250819.9dc3a90-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-moby-sys",
            "purl": "pkg:deb/ubuntu/golang-github-moby-sys?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.0~git20241107.638aa7c-2",
            "0.0~git20250819.9dc3a90-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-61801.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-moby-sys-dev",
                "binary_version": "0.0~git20250819.9dc3a90-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:17.039342191Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-61801"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-61801",
        "https://www.cve.org/CVERecord?id=CVE-2026-61801",
        "https://github.com/moby/sys/commit/85a71bbe1faa36c552a960e6a5f3d0cfb632fbbe",
        "https://github.com/moby/sys/pull/221",
        "https://github.com/moby/sys/security/advisories/GHSA-mjcv-p78q-w5fw"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-61801",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 357097,
  "published_at": "2026-10-08T17:17:00+00:00"
}