UNIX Symbolic Link (Symlink) Following Affecting libcontainer package, versions <0.5.7


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-LIBCONTAINER-13843473
  • published7 Nov 2025
  • disclosed5 Nov 2025
  • creditYusuke Sakurai

Introduced: 5 Nov 2025

NewCVE-2025-62596  (opens in a new tab)
CWE-61  (opens in a new tab)

How to fix?

Upgrade libcontainer to version 0.5.7 or higher.

Overview

libcontainer is a library for container control.

Affected versions of this package are vulnerable to UNIX Symbolic Link (Symlink) Following via insufficiently strict validation in the apparmor handling when resolving pathnames. An attacker can perform arbitrary writes to unintended procfs locations and potentially escape container isolation or cause denial of service by exploiting a race condition with shared-mount path substitution during component-by-component path resolution.

Note:

This vulnerability has a similar logic to CVE-2025-52881 in runc

References

CVSS Base Scores

version 4.0
version 3.1