Download Latest Version opam-2.5.2-x86_64-windows.exe (12.0 MB)
Email in envelope

Get an email when there's a new version of opam

Home / 2.5.2
Name Modified Size InfoDownloads / Week
Parent folder
opam-2.5.2-i686-linux.sig 2026-07-09 566 Bytes
opam-2.5.2-ppc64le-linux.sig 2026-07-09 566 Bytes
opam-2.5.2-arm64-linux.sig 2026-07-09 566 Bytes
opam-2.5.2-arm64-macos.sig 2026-07-09 566 Bytes
opam-2.5.2-armhf-linux.sig 2026-07-09 566 Bytes
opam-2.5.2-x86_64-netbsd.sig 2026-07-09 566 Bytes
opam-2.5.2-x86_64-openbsd.sig 2026-07-09 566 Bytes
opam-2.5.2-x86_64-freebsd.sig 2026-07-09 566 Bytes
opam-2.5.2-x86_64-linux.sig 2026-07-09 566 Bytes
opam-2.5.2-x86_64-macos.sig 2026-07-09 566 Bytes
opam-2.5.2-riscv64-linux.sig 2026-07-09 566 Bytes
opam-2.5.2-s390x-linux.sig 2026-07-09 566 Bytes
opam-full-2.5.2.tar.gz.sig 2026-07-09 566 Bytes
opam-2.5.2-x86_64-windows.exe.sig 2026-07-09 566 Bytes
opam-full-2.5.2.tar.gz 2026-07-09 14.5 MB
opam-2.5.2-x86_64-openbsd 2026-07-09 12.4 MB
opam-2.5.2-x86_64-netbsd 2026-07-09 9.4 MB
opam-2.5.2-x86_64-macos 2026-07-09 8.5 MB
opam-2.5.2-x86_64-linux 2026-07-09 8.9 MB
opam-2.5.2-s390x-linux 2026-07-09 9.9 MB
opam-2.5.2-riscv64-linux 2026-07-09 8.8 MB
opam-2.5.2-ppc64le-linux 2026-07-09 10.3 MB
opam-2.5.2-i686-linux 2026-07-09 8.2 MB
opam-2.5.2-armhf-linux 2026-07-09 6.6 MB
opam-2.5.2-arm64-macos 2026-07-09 8.6 MB
opam-2.5.2-arm64-linux 2026-07-09 9.1 MB
opam-2.5.2-x86_64-windows.exe 2026-07-09 12.0 MB
opam-2.5.2-x86_64-freebsd 2026-07-09 9.6 MB
2.5.2 source code.tar.gz 2026-07-08 1.3 MB
2.5.2 source code.zip 2026-07-08 1.5 MB
README.md 2026-07-08 1.9 kB
Totals: 31 Items   139.6 MB 2

This is the release of opam 2.5.2.

Binaries and full archive are signed by the opam dev team (fingerprint 92C5 26AE 50DF 3947 0EB2 911B ED4C F1CA 67CB AA92). To verify the authenticity of one of these files, run the following commands:

curl -fsSLO https://opam.ocaml.org/opam-dev-pubkey.pgp
gpg --import opam-dev-pubkey.pgp
gpg --verify *.sig

Please see our upcoming blog post for more details and the upgrade instructions.

Changelog:

Security fix

  • Fix a bug that allowed a package to install files anywhere on the system using a symlink to an external directory without warning the user and asking for their permission: CVE-2026-57825 / OSEC-2026-10. [#7005 @NathanReb]

Other changes

  • Re-allow .. in .install files, partially reverts 2.5.1's [#6898] [#7008 @kit-ty-kate - fix [ocaml/dune#14393](https://github.com/ocaml/dune/issues/14393)]
  • Stop the installation process via .install file from creating unnecessary intermediate directories for paths that contain .. [#7015 @kit-ty-kate]
  • Improve and extend the testsuite [#6953 [#7011] [#7008] [#7005] @NathanReb @rjbou @kit-ty-kate]
  • API changes in opam-core:
  • OpamFilename.{,dir_}starts_with: Fix a bug where foo/bar would be considered a prefix of foo/bar-baz [#6953 @NathanReb - fix [#6948]]
  • OpamFilename.{,dir_}starts_with: / and \ are now equivalent on Windows [#6953 @NathanReb]
  • OpamFilename.starts_with: starts_with "a/b" "a/b" no longer returns true [#6953 @NathanReb]
  • OpamSystem.real_path: fix a bug where paths after a non existent directory where not resolve [#7011 @kit-ty-kate - fix [#7010]]
Source: README.md, updated 2026-07-08