SecurityContext

CVE-2018-13347: Mercurial - Integer Overflow

  • Cve: CVE-2018-13347
  • Name: Mercurial - Integer Overflow
  • Description: mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.
  • Impact: Potential for unexpected behavior or crashes, possibly leading to denial of service or arbitrary code execution.
  • Remediation: Update to version 4.6.1 or later.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02717
  • Epss percentile: 0.86385
  • Assignee: [email protected]
  • Published at: 2018-07-06T00:29:00Z
  • Age in days: 3063
  • Modified at: 2026-06-17T01:39:15Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-13347
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

References

Same in every row:

  • Source: nvd
UrlTags
https://www.mercurial-scm.org/repo/hg-committed/log?rev=modifies%28%22mercurial%2Fmpatch.c%22%29+and+4.5%3A%3APatch, Vendor Advisory
https://www.mercurial-scm.org/repo/hg/rev/1acfc35d478cPatch, Vendor Advisory
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29Release Notes, Vendor Advisory
https://access.redhat.com/errata/RHSA-2019:2276
https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html

Products

ProductAffectedPlatform boundSourcesUrl
mercurial:mercurial< 4.6.1nonvd/v1/products/mercurial/mercurial

Index

  • Repositories: 3
  • Repositories high signal: 3
  • Checked, none or zero: packages

Exploitation

  • Remote: yes
  • Exposed hosts: 22
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports