# CVE-2026-135844: Incomplete fix for unbounded user and group file reads in moby/sys/user

Source: https://aplosec.si/cve/CVE-2026-135844/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-135844

Medium 5.6 · Reported · Fixed in 0.5.1 · CWE-770 · Go

# Incomplete fix for unbounded user and group file reads in moby/sys/user

CVE-2026-135844 · published 2026-11-25

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.

## Summary

CVE-2026-135844 affects github.com/moby/sys/user (Go) < 0.5.1: Incomplete fix for unbounded user and group file reads (CWE-770). Fixed in 0.5.1. CVSS 4.0 base score 5.6 (Medium), assigned by Docker. Published 2026-11-25 by Docker. Credit: Zachariah Mithani.

The fix for CVE-2026-61801 added file type and size checks when parsing user and group files in github.com/moby/sys/user, but did not apply them consistently across all parsing and lookup functions. An attacker who controls the contents of a user or group file processed by an affected application, such as /etc/passwd or /etc/group from a container image, can cause excessive memory or CPU consumption, resulting in a denial of service. Fixed in v0.5.1 by enforcing the 10 MiB read limit in all affected functions. Docker Engine 29.10.1 includes the fix.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade github.com/moby/sys/user to 0.5.1 or later. Releases in the affected range (< 0.5.1) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-25 CVE published

## References

- [Referencehttps://github.com/moby/sys/security/advisories/GHSA-ffh6-8jcg-cjmw](https://github.com/moby/sys/security/advisories/GHSA-ffh6-8jcg-cjmw)

- [Releasehttps://github.com/moby/sys/releases/tag/user/v0.5.1](https://github.com/moby/sys/releases/tag/user/v0.5.1)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-135844](https://www.cve.org/CVERecord?id=CVE-2026-135844)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-135844](https://nvd.nist.gov/vuln/detail/CVE-2026-135844)

**Severity:** Medium 5.6 CVSS 4.0, scored by Docker in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-135844)

**Package:** github.com/moby/sys/user

**Ecosystem:** Go

**Affected:** < 0.5.1

**Fixed:** 0.5.1

**Weakness:** CWE-770

**CNA:** Docker

**Credit:** Zachariah Mithani finder
