{"id":"UBUNTU-CVE-2026-57825","details":"In the opam package before 2.5.2 for OCaml, the sandbox protection mechanism can be bypassed because symlinks are mishandled during use of .install files.","modified":"2026-09-16T14:01:39.506284025Z","published":"2026-09-09T04:18:00Z","upstream":["CVE-2026-57825"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-57825"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-57825"},{"type":"REPORT","url":"https://github.com/ocaml/security-advisories/blob/main/advisories/2026/OSEC-2026-10.md"},{"type":"REPORT","url":"https://github.com/ocaml/opam/pull/7005"}],"affected":[{"package":{"name":"opam","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/opam?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-3","1.2.2-3build1","1.2.2-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.2-4","binary_name":"opam"},{"binary_version":"1.2.2-4","binary_name":"opam-docs"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57825.json"}},{"package":{"name":"opam","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/opam?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-6"],"ecosystem_specific":{"binaries":[{"binary_name":"opam","binary_version":"1.2.2-6"},{"binary_name":"opam-docs","binary_version":"1.2.2-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57825.json"}},{"package":{"name":"opam","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/opam?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.5-1","2.0.5-1ubuntu1","2.0.5-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.5-1ubuntu1+esm1","binary_name":"opam"},{"binary_name":"opam-installer","binary_version":"2.0.5-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57825.json"}},{"package":{"name":"opam","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/opam?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.8-1","2.0.10-1","2.1.2-1","2.1.2-1+deb12u1build0.22.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"opam","binary_version":"2.1.2-1+deb12u1build0.22.04.1"},{"binary_name":"opam-installer","binary_version":"2.1.2-1+deb12u1build0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57825.json"}},{"package":{"name":"opam","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/opam?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.5-1","2.1.5-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.5-1ubuntu0.1~esm2","binary_name":"opam"},{"binary_name":"opam-installer","binary_version":"2.1.5-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57825.json"}},{"package":{"name":"opam","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/opam?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-1","2.4.1-1","2.5.0-1","2.5.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"opam","binary_version":"2.5.0-1ubuntu0.1~esm1"},{"binary_name":"opam-installer","binary_version":"2.5.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-57825.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}