Mercurial 7.2.5 released

Mercurial 7.2.5 released#

Security and bugfix release of Mercurial.

It fixes CVE-2026-124851 in the vendored zstd library used by all builds, as well as security advisories in the dependencies of the Rust extensions (see HG-SA-2026-05). Some packaged versions of Mercurial use the system's zstd instead, which should be patched separately. Since Mercurial 7.2, HGZSTDPOLICY=system switches to the system's zstd (see hg help environment.HGZSTDPOLICY).

This release also brings better checks of incoming data with server.validate, support for Python 3.15, and many bug fixes.

Another, larger security release is coming very soon: packagers should read the announcement of Mercurial 7.2.6 and update to 7.2.5 now.

See the release notes for details.