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-13346

23
FAUCET Score

CVE-2018-13346 is a high-severity vulnerability affecting Mercurial versions prior to 4.6.1, where a flaw in the mpatch_apply function allows for incorrect processing of patch fragments. This network-exploitable vulnerability has a CVSS score of 7.5, indicating a high impact on integrity without requiring user interaction or privileges. While no active exploitation, public exploit code, or significant community discussion has been observed, organizations using affected Mercurial versions should prioritize patching to mitigate potential risks.

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

7.5HIGH

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

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

Exploit Intelligence

EPSS Score
2.34%
Probability of exploitation in next 30 days
EPSS Percentile
81.8%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0234 is in the 68th percentile among its peer group of 51,553 CVEs.

Social Chatter

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

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 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-9xv4-r2hf-26ghhigh

Mercurial Improper Input Validation vulnerability

May 13, 2022
redhatCVE-2018-13346Low

mercurial: Missing check for fragment start position 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/rev/faa924469635
PatchThird Party Advisory
mercurial-scm.org / wiki/WhatsNew
Third Party Advisory