CVE-2026-57825 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.
MediumCVSS 5.7
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
10 packages: 6 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/opam(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/opam(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/opam(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/opam(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/opam(Alpine v3.23) | < 2.5.2-r0 | 2.5.2-r0 | Fixed |
| alpine/opam(Alpine v3.24) | < 2.5.2-r0 | 2.5.2-r0 | Fixed |
| debian/opam(Debian 12) | < 2.1.2-1+deb12u2; = 2.1.2-1; = 2.1.2-1+deb12u1 | 2.1.2-1+deb12u2 | Fixed |
| debian/opam(Debian 13) | < 2.3.0-1+deb13u2; = 2.3.0-1; = 2.3.0-1+deb13u1 | 2.3.0-1+deb13u2 | Fixed |
| debian/opam(Debian 14) | < 2.5.2-1; = 2.3.0-1; = 2.4.1-1; = 2.5.0-1 +2 more | 2.5.2-1 | Fixed |
| opam-devel | < 2.5.2 | 2.5.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| opam-devel | < 2.5.2 | 2.5.2 |
| debian/opam(Debian:12) | < 2.1.2-1+deb12u2 | 2.1.2-1+deb12u2 |
| debian/opam(Debian:12) | = 2.1.2-1 | No fix listed |
| debian/opam(Debian:12) | = 2.1.2-1+deb12u1 | No fix listed |
| debian/opam(Debian:13) | < 2.3.0-1+deb13u2 | 2.3.0-1+deb13u2 |
| debian/opam(Debian:13) | = 2.3.0-1 | No fix listed |
| debian/opam(Debian:13) | = 2.3.0-1+deb13u1 | No fix listed |
| debian/opam(Debian:14) | < 2.5.2-1 | 2.5.2-1 |
| debian/opam(Debian:14) | = 2.3.0-1 | No fix listed |
| debian/opam(Debian:14) | = 2.4.1-1 | No fix listed |
| debian/opam(Debian:14) | = 2.5.0-1 | No fix listed |
| debian/opam(Debian:14) | = 2.5.1-1 | No fix listed |
| debian/opam(Debian:14) | = 2.5.1-2 | No fix listed |
| ubuntu/opam(Ubuntu:22.04) | All versions | No fix listed |
| alpine/opam(Alpine:v3.23) | < 2.5.2-r0 | 2.5.2-r0 |
| alpine/opam(Alpine:v3.24) | < 2.5.2-r0 | 2.5.2-r0 |
| ubuntu/opam(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/opam(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/opam(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com
- osv.dev
- lists.debian.org
- Debian Security Tracker CVE-2026-57825 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2026-74594 third-party-advisory