Every CVE Search/ Get API key

CVE-2016-3697

Privilege Elevation in runc

7.8 HighFix available

CVE-2016-3697 is a high vulnerability (CVSS 7.8) in Docker, published April 26, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 32nd percentile. Fixed in github.com/opencontainers/runc 0.1.0.

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.39%Down 0.7 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2016-3697
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
2.1 LowAV:L/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-264
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2016-3697
Updated
2026-11-02
EUVDEUVD-2021-2563 No score

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.

Record
EUVD-2021-2563
Updated
2026-11-03
GitHub AdvisoriesGHSA-q3j5-32m5-58c2 7.8

Privilege Elevation in runc

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.

Record
GHSA-q3j5-32m5-58c2
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-269
Updated
2026-11-02
OSV 7.8

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.

Record
CVE-2016-3697
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2016-3697 7.8

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.

Record
DEBIAN-CVE-2016-3697
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 9 moreShow less
OSVGHSA-q3j5-32m5-58c2 7.8

Privilege Elevation in runc

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.

Record
GHSA-q3j5-32m5-58c2
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-269
Updated
2026-11-02
OSVUBUNTU-CVE-2016-3697 7.8

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.

Record
UBUNTU-CVE-2016-3697
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0
7.8 HighCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGO-2021-0070 No score

Privilege escalation in github.com/opencontainers/runc

GetExecUser in the github.com/opencontainers/runc/libcontainer/user package will improperly interpret numeric UIDs as usernames. If the method is used without verifying that usernames are formatted as expected, it may allow a user to gain unexpected privileges.

Record
GO-2021-0070
Updated
2026-11-02
OSVMGASA-2016-0209 No score

Updated docker package fixes CVE-2016-3697

Updated docker packages fix security vulnerability:

It was found that Docker would launch containers under the specified UID instead of a username. An attacker able to launch a container could use this flaw to escalate their privileges to root within the launched container (CVE-2016-3697).

Record
MGASA-2016-0209
Updated
2026-11-02
OSVopenSUSE-SU-2024:10532-1 No score

docker-1.12.3-4.1 on GA media

These are all security issues fixed in the docker-1.12.3-4.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10532-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:15589-1 No score

docker-stable-24.0.9_ce-15.1 on GA media

These are all security issues fixed in the docker-stable-24.0.9_ce-15.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15589-1
Updated
2026-11-02
OSVSUSE-SU-2016:1159-1 No score

Security update for docker

docker was updated to fix one security issue.

This security issue was fixed:

  • CVE-2016-3697: Potential privilege escalation via confusion of usernames and UIDs (bsc#976777).
Record
SUSE-SU-2016:1159-1
Updated
2026-11-02
OSVSUSE-SU-2025:03540-1 No score

Security update for docker-stable

This update for docker-stable fixes the following issues:

  • Include historical changelog data from before the docker-stable fork. The initial changelog entry did technically provide all the necessary information, but our CVE tracking tools do not understand how the package is forked and so it seems that this package does not include fixes for ~12 years of updates. So, include a copy of the original package's changelog up until the fork point. (bsc#1250596)

  • Remove git-core recommends on SLE. Most SLE systems have installRecommends=yes by default and thus end up installing git with Docker. bsc#1250508

    This feature is mostly intended for developers ('docker build git://') so most users already have the dependency installed, and the error when git is missing is fairly straightforward (so they can easily figure out what they need to install).

  • Backport https://github.com/moby/moby/pull/48517. bsc#1247362

  • Update to docker-buildx v0.25.0. Upstream changelog: https://github.com/docker/buildx/releases/tag/v0.25.0

  • Do not try to inject SUSEConnect secrets when in Rootless Docker mode, as Docker does not have permission to access the host zypper credentials in this mode (and unprivileged users cannot disable the feature using /etc/docker/suse-secrets-enable.) bsc#1240150

  • Initial docker-stable fork, forked from Docker 24.0.7-ce release (packaged on 2024-02-14). The original changelog is included below for historical reference.

Record
SUSE-SU-2025:03540-1
Updated
2026-11-02
OSVSUSE-SU-2025:03545-1 No score

Security update for docker-stable

This update for docker-stable fixes the following issues:

Note this update contains a already fixed references mostly.

  • Remove git-core recommends on SLE to avoid pulling it in unnecessary. (bsc#1250508)

    This feature is mostly intended for developers ('docker build git://') so most users already have the dependency installed, and the error when git is missing is fairly straightforward (so they can easily figure out what they need to install).

  • Include historical changelog data from before the docker-stable fork. The initial changelog entry did technically provide all the necessary information, but our CVE tracking tools do not understand how the package is forked and so it seems that this package does not include fixes for ~12 years of updates. So, include a copy of the original package's changelog up until the fork point. bsc#1250596

  • Update to docker-buildx v0.25.0. Upstream changelog: https://github.com/docker/buildx/releases/tag/v0.25.0

  • Update to Go 1.23 for building now that upstream has switched their 23.0.x LTSS to use Go 1.23.

  • Do not try to inject SUSEConnect secrets when in Rootless Docker mode, as Docker does not have permission to access the host zypper credentials in this mode (and unprivileged users cannot disable the feature using /etc/docker/suse-secrets-enable.) bsc#1240150

  • Initial docker-stable fork, forked from Docker 24.0.7-ce release (packaged on 2024-02-14). The original changelog is included below for historical reference.

Record
SUSE-SU-2025:03545-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/opencontainers/runc
Go
before 0.1.0
0.1.0
runc
Debian:12
before 0.1.0+dfsg-1
0.1.0+dfsg-1
runc
Debian:13
before 0.1.0+dfsg-1
0.1.0+dfsg-1
runc
Debian:14
before 0.1.0+dfsg-1
0.1.0+dfsg-1
docker
Mageia:5
before 1.9.1-1.1.mga5
1.9.1-1.1.mga5
docker
Red Hat:rhel_extras_other:7
before 0:1.9.1-40.el7
0:1.9.1-40.el7
docker-common
Red Hat:rhel_extras_other:7
before 0:1.9.1-40.el7
0:1.9.1-40.el7
docker-forward-journald
Red Hat:rhel_extras_other:7
before 0:1.9.1-40.el7
0:1.9.1-40.el7
docker-logrotate
Red Hat:rhel_extras_other:7
before 0:1.9.1-40.el7
0:1.9.1-40.el7
docker-selinux
Red Hat:rhel_extras_other:7
before 0:1.9.1-40.el7
0:1.9.1-40.el7
Show 29 moreShow less
Affected packages
PackageAffectedFixed
docker
Red Hat:rhel_extras_other:7
before 0:1.10.3-57.el7
0:1.10.3-57.el7
docker-common
Red Hat:rhel_extras_other:7
before 0:1.10.3-57.el7
0:1.10.3-57.el7
docker-logrotate
Red Hat:rhel_extras_other:7
before 0:1.10.3-57.el7
0:1.10.3-57.el7
docker-lvm-plugin
Red Hat:rhel_extras_other:7
before 0:1.10.3-57.el7
0:1.10.3-57.el7
docker-novolume-plugin
Red Hat:rhel_extras_other:7
before 0:1.10.3-57.el7
0:1.10.3-57.el7
docker-rhel-push-plugin
Red Hat:rhel_extras_other:7
before 0:1.10.3-57.el7
0:1.10.3-57.el7
docker-selinux
Red Hat:rhel_extras_other:7
before 0:1.10.3-57.el7
0:1.10.3-57.el7
docker-v1.10-migrator
Red Hat:rhel_extras_other:7
before 0:1.10.3-57.el7
0:1.10.3-57.el7
docker
SUSE:OpenStack Cloud 6
before 1.10.3-66.1
1.10.3-66.1
docker
SUSE:Linux Enterprise Module for Containers 12
before 1.10.3-66.1
1.10.3-66.1
docker-stable
SUSE:Linux Enterprise Server 12 SP5-LTSS
before 24.0.9_ce-1.20.1
24.0.9_ce-1.20.1
docker-stable
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
before 24.0.9_ce-1.20.1
24.0.9_ce-1.20.1
docker-stable
SUSE:Linux Enterprise Module for Containers 15 SP6
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise Module for Containers 15 SP7
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise Server 15 SP3-LTSS
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise Server 15 SP4-LTSS
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise Server 15 SP5-LTSS
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
SUSE:Enterprise Storage 7.1
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker-stable
openSUSE:Leap 15.6
before 24.0.9_ce-150000.1.25.1
24.0.9_ce-150000.1.25.1
docker
openSUSE:Tumbleweed
before 1.12.3-4.1
1.12.3-4.1
docker-stable
openSUSE:Tumbleweed
before 24.0.9_ce-15.1
24.0.9_ce-15.1

History

History
WhenChangedSources
2026-11-03affected
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 100 references. The JSON record has them.

MoveEnter Open