{"id":"CVE-2025-52881","summary":"runc: LSM labels can be bypassed with malicious config using dummy procfs files","details":"runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7, 1.3.2 and 1.4.0-rc.2, an attacker can trick runc into misdirecting writes to /proc to other procfs files through the use of a racing container with shared mounts (we have also verified this attack is possible to exploit using a standard Dockerfile with docker buildx build as that also permits triggering parallel execution of containers with custom shared mounts configured). This redirect could be through symbolic links in a tmpfs or theoretically other methods such as regular bind-mounts. While similar, the mitigation applied for the related CVE, CVE-2019-19921, was fairly limited and effectively only caused runc to verify that when LSM labels are written they are actually procfs files. This issue is fixed in versions 1.2.8, 1.3.3, and 1.4.0-rc.3.","aliases":["GHSA-cgrx-mc8f-2prm","GO-2025-4098"],"modified":"2026-10-27T17:27:16.805188526Z","published":"2025-11-06T20:23:36.237Z","related":["ALSA-2025:19927","ALSA-2025:20957","ALSA-2025:21220","ALSA-2025:21232","ALSA-2025:21702","ALSA-2025:22011","ALSA-2025:22012","ALSA-2025:23543","GHSA-9493-h29p-rfm2","GHSA-cgrx-mc8f-2prm","GHSA-qw9x-cqr3-wc7r","SUSE-SU-2025:21036-1","SUSE-SU-2025:21038-1","SUSE-SU-2025:21054-1","SUSE-SU-2025:21072-1","SUSE-SU-2025:21136-1","SUSE-SU-2025:3950-1","SUSE-SU-2025:3951-1","SUSE-SU-2025:4073-1","SUSE-SU-2025:4073-2","SUSE-SU-2025:4074-1","SUSE-SU-2025:4075-1","SUSE-SU-2025:4076-1","SUSE-SU-2025:4077-1","SUSE-SU-2025:4079-1","SUSE-SU-2025:4080-1","SUSE-SU-2025:4081-1","SUSE-SU-2026:0327-1","SUSE-SU-2026:20103-1","SUSE-SU-2026:20116-1","SUSE-SU-2026:20123-1","SUSE-SU-2026:20214-1","SUSE-SU-2026:20626-1","SUSE-SU-2026:20641-1","SUSE-SU-2026:21291-1","SUSE-SU-2026:22451-1","SUSE-SU-2026:22516-1","SUSE-SU-2026:24378-1","SUSE-SU-2026:2706-1","SUSE-SU-2026:2733-1","openSUSE-SU-2025:15705-1","openSUSE-SU-2025:15721-1","openSUSE-SU-2025:15843-1","openSUSE-SU-2025:15845-1","openSUSE-SU-2025:20072-1","openSUSE-SU-2026:20072-1","openSUSE-SU-2026:20080-1","openSUSE-SU-2026:20140-1","openSUSE-SU-2026:20305-1","openSUSE-SU-2026:21244-1","openSUSE-SU-2026:21483-1"],"database_specific":{"cwe_ids":["CWE-363","CWE-61"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52881.json","unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"\u003c= 1.2.7, \u003c 1.2.8"},{"last_affected":"\u003c= 1.2.7, \u003c 1.2.8"},{"introduced":"\u003c= 1.3.2, \u003c 1.3.3"},{"last_affected":"\u003c= 1.3.2, \u003c 1.3.3"},{"introduced":"\u003c= 1.4.0-rc.2, \u003c 1.4.0-rc.3"},{"last_affected":"\u003c= 1.4.0-rc.2, \u003c 1.4.0-rc.3"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"}]}],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/opencontainers/runc/blob/v1.4.0-rc.2/RELEASES.md"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52881.json"},{"type":"ADVISORY","url":"https://github.com/opencontainers/runc/security/advisories/GHSA-9493-h29p-rfm2"},{"type":"ADVISORY","url":"https://github.com/opencontainers/runc/security/advisories/GHSA-cgrx-mc8f-2prm"},{"type":"ADVISORY","url":"https://github.com/opencontainers/runc/security/advisories/GHSA-qw9x-cqr3-wc7r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52881"},{"type":"FIX","url":"http://github.com/opencontainers/runc/commit/a41366e74080fa9f26a2cd3544e2801449697322"},{"type":"FIX","url":"http://github.com/opencontainers/runc/commit/fdcc9d3cad2f85954a241ccb910a61aaa1ef47f3"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/3f925525b44d247e390e529e772a0dc0c0bc3557"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/435cc81be6b79cdec73b4002c0dae549b2f6ae6d"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/44a0fcf685db051c80b8c269812bb177f5802c58"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/4b37cd93f86e72feac866442988b549b5b7bf3e6"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/6fc191449109ea14bb7d61238f24a33fe08c651f"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/77889b56db939c323d29d1130f28f9aea2edb544"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/77d217c7c3775d8ca5af89e477e81568ef4572db"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/b3dd1bc562ed9996d1a0f249e056c16624046d28"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/d40b3439a9614a86e87b81a94c6811ec6fa2d7d2"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/d61fd29d854b416feaaf128bf650325cd2182165"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/ed6b1693b8b3ae7eb0250a7e76fc888cdacf98c1"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/ff6fe1324663538167eca8b3d3eec61e1bd4fa51"},{"type":"FIX","url":"https://github.com/opencontainers/runc/commit/ff94f9991bd32076c871ef0ad8bc1b763458e480"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opencontainers/runc","events":[{"introduced":"0"},{"fixed":"eeb7e6024f9ee43876301b1d23c353384fa6dcdd"},{"introduced":"4ca628d1d4c974f92d24daccb901aa078aad748e"},{"fixed":"d842d7719497cc3b774fd71620278ac9e17710e0"},{"fixed":"a41366e74080fa9f26a2cd3544e2801449697322"},{"fixed":"fdcc9d3cad2f85954a241ccb910a61aaa1ef47f3"},{"fixed":"3f925525b44d247e390e529e772a0dc0c0bc3557"},{"fixed":"435cc81be6b79cdec73b4002c0dae549b2f6ae6d"},{"fixed":"44a0fcf685db051c80b8c269812bb177f5802c58"},{"fixed":"4b37cd93f86e72feac866442988b549b5b7bf3e6"},{"fixed":"6fc191449109ea14bb7d61238f24a33fe08c651f"},{"fixed":"77889b56db939c323d29d1130f28f9aea2edb544"},{"fixed":"77d217c7c3775d8ca5af89e477e81568ef4572db"},{"fixed":"b3dd1bc562ed9996d1a0f249e056c16624046d28"},{"fixed":"d40b3439a9614a86e87b81a94c6811ec6fa2d7d2"},{"fixed":"d61fd29d854b416feaaf128bf650325cd2182165"},{"fixed":"db19bbed5348847da433faa9d69e9f90192bfa64"},{"fixed":"ed6b1693b8b3ae7eb0250a7e76fc888cdacf98c1"},{"fixed":"ff6fe1324663538167eca8b3d3eec61e1bd4fa51"},{"fixed":"ff94f9991bd32076c871ef0ad8bc1b763458e480"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.2.8"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*","range":[{"introduced":"1.3.0"},{"fixed":"1.3.3"}]},{"range":[{"fixed":"a41366e74080fa9f26a2cd3544e2801449697322"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"fdcc9d3cad2f85954a241ccb910a61aaa1ef47f3"}]},{"range":[{"fixed":"3f925525b44d247e390e529e772a0dc0c0bc3557"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"435cc81be6b79cdec73b4002c0dae549b2f6ae6d"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"44a0fcf685db051c80b8c269812bb177f5802c58"}]},{"range":[{"fixed":"4b37cd93f86e72feac866442988b549b5b7bf3e6"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"6fc191449109ea14bb7d61238f24a33fe08c651f"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"77889b56db939c323d29d1130f28f9aea2edb544"}]},{"range":[{"fixed":"77d217c7c3775d8ca5af89e477e81568ef4572db"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"b3dd1bc562ed9996d1a0f249e056c16624046d28"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"d40b3439a9614a86e87b81a94c6811ec6fa2d7d2"}]},{"range":[{"fixed":"d61fd29d854b416feaaf128bf650325cd2182165"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"db19bbed5348847da433faa9d69e9f90192bfa64"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"ed6b1693b8b3ae7eb0250a7e76fc888cdacf98c1"}]},{"range":[{"fixed":"ff6fe1324663538167eca8b3d3eec61e1bd4fa51"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"ff94f9991bd32076c871ef0ad8bc1b763458e480"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v1.3.0-rc.1","v1.2.0","v1.2.0-rc.3","v1.0.0-rc2","v0.0.8","v0.0.7","v0.0.6","v0.0.5","v0.0.4","v0.0.2","v0.0.3","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-52881.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}