cve.bz

CVE-2025-31133 linuxfoundation runc: UNIX Symbolic Link (Symlink) Following

7.3 highEPSS 1.2%Fix available

High (7.3) in linuxfoundation runc. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/opencontainers/runc 1.2.8, 1.3.3, 1.4.0-rc.3.

On this page
runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7 and below, 1.3.0-rc.1 through 1.3.1, 1.4.0-rc.1 and 1.4.0-rc.2 files, runc would not perform sufficient verification that the source of the bind-mount (i.e., the container's /dev/null) was actually a real /dev/null inode when using the container's /dev/null to mask. This exposes two methods of attack: an arbitrary mount gadget, leading to host information disclosure, host denial of service, container escape, or a bypassing of maskedPaths. This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.

Severity

CVSS 4.0

7.3 high
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-11-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-61 UNIX Symbolic Link (Symlink) Following
CWE-363 Race Condition Enabling Link Following
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-31133 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-31133?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-31133?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-2025-31133 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
linuxfoundation:runcbefore 1.2.8
linuxfoundation:runcfrom 1.3.0 before 1.3.3
linuxfoundation:runc1.4.0:rc1
linuxfoundation:runc1.4.0:rc2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9493-h29p-rfm2Gogithub.com/opencontainers/runc<1.2.81.2.8
GHSA-9493-h29p-rfm2Gogithub.com/opencontainers/runc>=1.3.0-rc.1 <1.3.31.3.3
GHSA-9493-h29p-rfm2Gogithub.com/opencontainers/runc>=1.4.0-rc.1 <1.4.0-rc.31.4.0-rc.3
GO-2025-4096Gogithub.com/opencontainers/runc<1.2.8
>=1.3.0-rc.1 <1.3.3
>=1.4.0-rc.1 <1.4.0-rc.3
1.2.8, 1.3.3, 1.4.0-rc.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13runcno fix listedDEBIAN-CVE-2025-31133
Debian14runc1.3.3+ds1-2DEBIAN-CVE-2025-31133
Ubuntu20.04:LTSrunc, runc-appno fix listedUBUNTU-CVE-2025-31133
Ubuntu22.04:LTSrunc-app1.3.3-0ubuntu1~22.04.2UBUNTU-CVE-2025-31133 USN-7851-1
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 moreruncno fix listedUBUNTU-CVE-2025-31133
Ubuntu24.04:LTSrunc-app1.3.3-0ubuntu1~24.04.2UBUNTU-CVE-2025-31133 USN-7851-1
Ubuntu25.10runc-app, runc-stable1.3.3-0ubuntu1~25.10.2UBUNTU-CVE-2025-31133 USN-7851-1
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.1-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.12-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.4.0-6.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-82.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hatenterprise_linux:8::appstreamcrit, criu, criu-libs and 5 more0:3.18-5.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:1.14.3-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.13-1.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hatenterprise_linux:8::appstreamlibslirp, libslirp-devel, libslirp-debuginfo and 1 more0:4.4.0-2.module+el8.10.0+23647+cfd78660RHSA-2025:21232
Red Hatenterprise_linux:8::appstreamnetavark2:1.10.3-1.module+el8.10.0+23647+cfd78660RHSA-2025:21232
63 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 15 morerunc1.2.7-150000.80.1SUSE-SU-2025:3950-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morepodman4.9.5-150300.9.63.2SUSE-SU-2025:4080-1
SUSEEnterprise Storage 7.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 4 morerunc1.3.3-150000.85.1SUSE-SU-2025:4073-1
SUSEEnterprise Storage 7.1, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 2 morerunc1.3.6-150000.101.1SUSE-SU-2026:3433-1
SUSELinux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS and 8 morerunc1.3.3-150000.85.1SUSE-SU-2025:4073-2
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 morepodman4.9.5-150400.4.59.2SUSE-SU-2025:4079-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 4 morepodman4.9.5-150500.3.56.2SUSE-SU-2025:4081-1
SUSELinux Enterprise Module for Basesystem 15 SP7alloy1.12.2-150700.15.15.1SUSE-SU-2026:0327-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5runc1.2.7-16.67.1SUSE-SU-2025:3951-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5runc1.3.3-16.70.1SUSE-SU-2025:4077-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0alloy1.12.2-160000.1.1SUSE-SU-2026:20214-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0buildah1.39.5-160000.1.1SUSE-SU-2026:20123-1
12 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6podman4.9.5-150500.3.56.2SUSE-SU-2025:4081-1
openSUSELeap 15.6runc1.2.7-150000.80.1SUSE-SU-2025:3950-1
openSUSELeap 15.6runc1.3.3-150000.85.1SUSE-SU-2025:4073-1
openSUSELeap 16.0alloy1.12.2-160000.1.1openSUSE-SU-2026:20140-1
openSUSELeap 16.0buildah1.39.5-160000.1.1openSUSE-SU-2026:20080-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSELeap 16.0podman5.4.2-160000.3.1openSUSE-SU-2026:20072-1
openSUSELeap 16.0podman5.4.2-160000.4.1openSUSE-SU-2026:20305-1
openSUSELeap 16.0runc1.3.3-160000.1.1openSUSE-SU-2025:20072-1
openSUSELeap 16.0runc1.3.6-160000.1.1openSUSE-SU-2026:21431-1
openSUSETumbleweedalloy1.12.2-2.1openSUSE-SU-2026:10073-1
openSUSETumbleweedrunc1.3.3-1.1openSUSE-SU-2025:15705-1
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7ALSA-2025:21232
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+4023+db236c53ALSA-2025:21232
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+4047+545787c4ALSA-2025:21232
AlmaLinux8buildah2:1.33.12-2.module_el8.10.0+4016+efd18bf8ALSA-2025:21232
AlmaLinux8buildah2:1.33.12-2.module_el8.10.0+4023+db236c53ALSA-2025:21232
AlmaLinux8buildah, buildah-tests2:1.33.12-2.module_el8.10.0+4047+545787c4ALSA-2025:21232
AlmaLinux8buildah-tests2:1.33.12-2.module_el8.10.0+4068+0e21408fALSA-2025:21232
AlmaLinux8cockpit-podman84.1-1.module_el8.10.0+4016+efd18bf8ALSA-2025:21232
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3970+8445edf6ALSA-2025:21232
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+4068+0e21408fALSA-2025:21232
AlmaLinux8container-selinux2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7ALSA-2025:21232
AlmaLinux8containernetworking-plugins1:1.4.0-6.module_el8.10.0+4016+efd18bf8ALSA-2025:21232
57 more for AlmaLinux in the JSON.
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1874+ce489889RLSA-2025:21232
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1880+8e896d1bRLSA-2025:21232
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1896+b18fa106RLSA-2025:21232
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1948+4b5cd4a9RLSA-2025:21232
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+2001+6a33db9fRLSA-2025:21232
Rocky Linux8buildah2:1.33.12-2.module+el8.10.0+2001+6a33db9fRLSA-2025:21232
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2025:21232
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1825+623b0c20RLSA-2025:21232
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1843+6892ab28RLSA-2025:21232
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1872+2e18eb19RLSA-2025:21232
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1874+ce489889RLSA-2025:21232
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1880+8e896d1bRLSA-2025:21232
101 more for Rocky Linux in the JSON.

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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. 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 statement

Red Hat considers this as an Important flaw since the impact is limited to local attack with minimal privileges in order to jeopardize the environment.

Red Hat's mitigation

Potential mitigations for this issue include:

* Using user namespaces, with the host root user not mapped into the container's namespace. procfs file permissions are managed using Unix

DAC and thus user namespaces stop a container process from being able to write to them.

* Not running as a root user in the container (this includes disabling setuid binaries with noNewPrivileges). As above, procfs file permissions are managed using Unix DAC and thus non-root users cannot write to them.

* Depending on the maskedPath configuration (the default configuratio nonly masks paths in /proc and /sys), using an AppArmor that blocks unexpectedwrites to any maskedPaths (as is the case with the defaultprofile used by Docker and Podman) will block attempts to exploit this issue. However, CVE-2025-52881 allows an attacker to bypass LSMlabels, and so this mitigation is not helpful when considered incombination with CVE-2025-52881.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8container-tools:rhel8-8100020251112161627.afee755dFixed 2025-11-13RHSA-2025:21232
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportcontainer-tools:rhel8-8060020260422144418.ad008a3aFixed 2026-04-27RHSA-2026:10703
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicecontainer-tools:rhel8-8060020260422144418.ad008a3aFixed 2026-04-27RHSA-2026:10703
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionscontainer-tools:rhel8-8060020260422144418.ad008a3aFixed 2026-04-27RHSA-2026:10703
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicecontainer-tools:rhel8-8080020260226135022.63b34585Fixed 2026-03-17RHSA-2026:4693
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionscontainer-tools:rhel8-8080020260226135022.63b34585Fixed 2026-03-17RHSA-2026:4693
Red Hat Enterprise Linux 9runc-4:1.2.5-3.el9_6Fixed 2025-11-07RHSA-2025:19927
Red Hat Enterprise Linux 9runc-4:1.3.0-4.el9_7Fixed 2025-11-11RHSA-2025:20957
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsrunc-4:1.2.9-1.el9_0Fixed 2026-04-15RHSA-2026:8325
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsrunc-4:1.2.9-1.el9_2.1Fixed 2026-03-12RHSA-2026:4531
Red Hat Enterprise Linux 9.4 Extended Update Supportrunc-4:1.2.9-1.el9_4Fixed 2026-01-12RHSA-2026:0425
Red Hat OpenShift Container Platform 4.12runc-4:1.2.9-1.rhaos4.17.el8Fixed 2026-01-15RHSA-2026:0315
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202604010116-0Fixed 2026-04-09RHSA-2026:6492
Red Hat OpenShift Container Platform 4.13runc-4:1.2.9-1.rhaos4.16.el8Fixed 2026-01-22RHSA-2026:0676
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202511261311-0Fixed 2025-12-05RHSA-2025:22275
Red Hat OpenShift Container Platform 4.14runc-4:1.2.5-2.rhaos4.17.el8Fixed 2025-11-20RHSA-2025:21328
Red Hat OpenShift Container Platform 4.14runc-4:1.2.9-1.rhaos4.16.el8Fixed 2026-01-30RHSA-2026:0995
Red Hat OpenShift Container Platform 4.15runc-4:1.2.9-1.rhaos4.16.el8Fixed 2026-02-05RHSA-2026:1540
Red Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9:415.92.202512100122-0Fixed 2026-01-07RHSA-2025:23113
Red Hat OpenShift Container Platform 4openshift-clientsNot affected
9 more in the JSON and on Red Hat's page.

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-2025-31133.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-26 Leveraging 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