CVE-2017-17458: Debian Linux

Critical severity, CVSS 9.8. EPSS: 6.3% probability of exploitation activity in the next 30 days.

In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a .git/hooks/post-update script checked into the repository. Typical use of Mercurial prevents construction of such repositories, but they can be created programmatically.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Mercurial, before 4.4.1: fixed in 4.4.1

Affected products

Affected packages

Published 2017-12-07. Last modified 2026-06-17.