cve.bz

CVE-2016-9962 docker docker: Race Condition

6.4 mediumEPSS 0.4%Fix available

Medium (6.4) in docker docker. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/opencontainers/runc 1.0.0-rc3.

On this page
RunC allowed additional container processes via 'runc exec' to be ptraced by the pid 1 of the container. This allows the main processes of the container, if running as root, to gain access to file-descriptors of these new processes during the initialization and can lead to container escapes or modification of runC state before the process is fully placed inside the container.

Severity

CVSS 3.0

6.4 medium
CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-9962 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-9962?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-9962?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-9962 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
docker:dockerfrom 1.11.0 before 1.12.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gp4j-w3vj-7299Gogithub.com/opencontainers/runc<1.0.0-rc31.0.0-rc3
GO-2022-0835Gogithub.com/opencontainers/runc<1.0.0-rc31.0.0-rc3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14docker.io1.13.1~ds1-2DEBIAN-CVE-2016-9962
Debian12, 13, 14runc0.1.1+dfsg1-2DEBIAN-CVE-2016-9962
Ubuntu16.04:LTSdocker.io1.13.1-0ubuntu1~16.04.2UBUNTU-CVE-2016-9962
Ubuntu18.04:LTSrunc1.0.0~rc2+docker1.13.1-0ubuntu1UBUNTU-CVE-2016-9962
Red Hatrhel_extras_other:7docker, docker-client, docker-common and 6 more2:1.12.5-14.el7RHSA-2017:0116
Red Hatrhel_extras_other:7docker-latest, docker-client-latest, docker-latest-logrotate and 1 more0:1.12.5-14.el7RHSA-2017:0123
Red Hatrhel_extras_other:7runc0:1.0.0-1.rc2.el7RHSA-2017:0127
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 moredocker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
SUSELinux Enterprise Module for Containers 12, OpenStack Cloud 6containerd0.2.5+gitr569_2a5e70c-15.3SUSE-SU-2017:1964-1
SUSELinux Enterprise Module for Containers 12, OpenStack Cloud 6docker1.12.6-87.2SUSE-SU-2017:1964-1
SUSELinux Enterprise Module for Containers 12, OpenStack Cloud 6runc0.1.1+gitr2819_50a19c6-15.2SUSE-SU-2017:1964-1
SUSELinux Enterprise Module for Containers 12, OpenStack Cloud 6-LTSScontainerd1.2.2-16.14.2SUSE-SU-2019:0573-1
SUSELinux Enterprise Module for Containers 12, OpenStack Cloud 6-LTSSdocker18.09.1_ce-98.34.2SUSE-SU-2019:0573-1
SUSELinux Enterprise Module for Containers 12, OpenStack Cloud 6-LTSSdocker-runc1.0.0rc6+gitr3748_96ec2177ae84-1.17.2SUSE-SU-2019:0573-1
SUSELinux Enterprise Module for Containers 12, OpenStack Cloud 6-LTSSgolang-github-docker-libnetwork0.7.0.1+gitr2711_2cfbf9b1f981-16.2SUSE-SU-2019:0573-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5docker-stable24.0.9_ce-1.20.1SUSE-SU-2025:03540-1
openSUSELeap 15.6docker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
openSUSETumbleweedcontainerd1.4.8-2.2openSUSE-SU-2024:10693-1
openSUSETumbleweeddocker20.10.6_ce-2.1openSUSE-SU-2024:10722-1
openSUSETumbleweeddocker-stable24.0.9_ce-15.1openSUSE-SU-2025:15589-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250807T150727-1.1openSUSE-SU-2025:15424-1
openSUSETumbleweedrunc1.0.2-1.2openSUSE-SU-2024:11358-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

On Red Hat systems with SELinux enabled, the dangers of even privileged containers are mitigated. SELinux prevents container processes from accessing host content even if those container processes manage to gain access to the actual file descriptors.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extrasdocker-2:1.12.5-14.el7Fixed 2017-01-17RHSA-2017:0116
Red Hat Enterprise Linux 7 Extrasdocker-latest-0:1.12.5-14.el7Fixed 2017-01-17RHSA-2017:0123
Red Hat Enterprise Linux 7 Extrasrunc-0:1.0.0-1.rc2.el7Fixed 2017-01-17RHSA-2017:0127

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-9962.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON