Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2018-13347

31
FAUCET Score

CVE-2018-13347 is a critical vulnerability affecting Mercurial versions prior to 4.6.1, stemming from improper handling of integer addition and subtraction in the mpatch.c component. With a CVSS score of 9.8, it allows unauthenticated attackers to achieve complete compromise of confidentiality, integrity, and availability over the network with low attack complexity. While there is no evidence of active exploitation or publicly available exploit code in Metasploit, Nuclei, or ExploitDB, the vulnerability has garnered significant community discussion, indicating awareness and potential for future exploitation.

Impacted Technologies

VendorProductVersion(s)CPE
< 4.6.1CPE matchmatch criteria
cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

9.8CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.0

Exploit Intelligence

EPSS Score
2.64%
Probability of exploitation in next 30 days
EPSS Percentile
84.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0264 is in the 74th percentile among its peer group of 36,835 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

pippatch availablevia ghsa
Product: mercurialFixed in: 4.6.1
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: mercurial-0:2.6.2-10.el7
View patch
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: mercurial

Vendor Advisories (2)

pipGHSA-3mjj-mr4f-qxmxcritical

Mercurial mishandles integer addition and subtraction

May 13, 2022
redhatCVE-2018-13347Moderate

mercurial: Buffer underflow in mpatch.c:mpatch_apply()

Jun 6, 2018

References

access.redhat.com / errata/RHSA-2019:2276
lists.debian.org / debian-lts-announce/2020/07/msg00032.html
mercurial-scm.org / repo/hg-committed/log
PatchVendor Advisory
mercurial-scm.org / repo/hg/rev/1acfc35d478c
PatchVendor Advisory
mercurial-scm.org / wiki/WhatsNew
Release NotesVendor Advisory