AploSec / Disclosures / CVE-2026-135844

Medium 5.6ReportedFixed in 0.5.1CWE-770Go

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

Severity
Medium 5.6CVSS 4.0, scored by Docker in the CVE record
Package
github.com/moby/sys/user
Ecosystem
Go
Affected
< 0.5.1
Fixed
0.5.1
Weakness
CWE-770
CNA
Docker
Credit
Zachariah Mithanifinder