KeygraphLabs · CVE MCP

CVE-2016-3697 · redhat

CVE-2016-3697

libcontainer/user/user.go in runC before 0.1.0, as used in Docker before 1.11.2, improperly treats a numeric UID as a potential username, which allows local users to gain privileges via a numeric username in the password file in a container.

Published 2016-06-01, last changed 2026-06-17. Weakness: CWE-264.

CVSS
7.8
high, from NVD
EPSS
0.42%
percentile 38.3%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: github.com/opencontainers/runc 0.1.0 (Go). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in opencontainers/runc by pull request #708, 69af385de6, 8e129e0972. Functions changed by the fix: GetExecUserPath, GetExecUser, parseLine, ParsePasswdFilter, ParseGroupFilter. Regression tests: libcontainer/user/user_test.go. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2016-06-01Published
2021-04-14Package advisory GO-2021-0070
2021-12-20Package advisory GHSA-q3j5-32m5-58c2
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.42%
2026-12-05Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-q3j5-32m5-58c2github.com/opencontainers/runc (Go)0.1.0
GO-2021-0070github.com/opencontainers/runc (Go)0.1.0

Also known as: GHSA-q3j5-32m5-58c2, GO-2021-0070

Related

CVEPublishedCVSSSummary
CVE-2026-415792026-07-013.3runc: Malicious image with /dev symlink can trigger limited host filesystem integrity violations
CVE-2025-528812025-11-067.5runc: LSM labels can be bypassed with malicious config using dummy procfs files
CVE-2025-525652025-11-067.5container escape due to /dev/console mount and related races
CVE-2025-311332025-11-067.8runc container escape via "masked path" abuse due to mount race conditions
CVE-2025-276122025-03-215.9Libcontainer is affected by capabilities elevation
CVE-2024-453102024-09-033.6runc can be confused to create empty files/directories on the host
CVE-2024-216262024-01-318.6runc container breakout through process.cwd trickery and leaked fds
CVE-2023-286422023-03-297.8AppArmor bypass with symlinked /proc in runc

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-3697, or call /api/v1/vulnerabilities/CVE-2016-3697. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org