ADVISORIES

Vulnerability

CVE-2018-13346

The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proceeds in cases where the fragment start is past the end of the original data, aka OVE-20180430-0004.

14 advisories report this vulnerability, across 7 ecosystems.

Advisories in PyPI

  • GHSA-9xv4-r2hf-26gh

    Mercurial Improper Input Validation vulnerability

    High CVE-2018-13346 PyPI Updated 25 September 2024
  • PYSEC-2018-88

    The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proceeds in cases where the fragment start is past the end of the original data, aka OVE-20180430-0004.

    CVE-2018-13346 PyPI Updated 10 June 2026

References