Read the docs
TI-2010-03987 Aliases CVE-2010-4237GHSA-7gf7-7wx4-mxmw

Improper certificate validation in mercurial

Priority LOW 28CWE-295Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Spoofing
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-295.

Summary

Mercurial before 1.6.4 fails to verify the Common Name field of SSL certificates which allows remote attackers who acquire a certificate signed by a Certificate Authority to perform a man-in-the-middle attack.

Why it matters now

EPSS 0.00821 57th percentileScored 2026-11-07
Fix Partial mercurial (PyPI): 1.6.4Red Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Mercurialmercurial1.6.4—No fix listedCNA
—mercurial (PyPI)before 1.6.41.6.4Patch availableGHSA-7gf7-7wx4-mxmw
  • mercurial VendorMercurial Affected 1.6.4 Fixed in — No fix listed CNA
  • mercurial (PyPI) Vendor— Affected before 1.6.4 Fixed in 1.6.4 Patch available GHSA-7gf7-7wx4-mxmw

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*before 1.6.4VulnerableMercurial
  • cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:* Versions before 1.6.4 Vulnerable ·Mercurial

Remediation

  • Fix · GHSA-7gf7-7wx4-mxmw mercurial (PyPI) Fixed in 1.6.4 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix

Timeline

  1. 2026-10-02 Threatist record created from CVE-2010-4237
  2. 2026-10-03 Alias added: GHSA-7gf7-7wx4-mxmw

References

  • TI-2014-07619 Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x… CVSS 3.1CRITICAL 9.8
  • TI-2017-06870 In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch… CVSS 3.1HIGH 8.8
  • TI-2017-14453 Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks. CVSS 3.0CRITICAL 9.8
  • TI-2017-12752 In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause… CVSS 3.0CRITICAL 9.8
  • TI-2018-09592 mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002. CVSS 3.0CRITICAL 9.8
  • TI-2016-03079 The binary delta decoder in Mercurial before 3.7.3 allows remote attackers to execute… CVSS 3.1HIGH 8.8
See all 18 →

Sources