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

  • DEBIAN-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.

    CVE-2018-13346 Debian Updated 23 October 2026
  • DLA-1414-1

    mercurial - security update

    CVE-2017-17458CVE-2017-9462CVE-2018-1000132CVE-2018-13346 Debian Updated 20 November 2026
  • DLA-2293-1

    mercurial - security update

    CVE-2017-17458CVE-2018-1000132CVE-2018-13346CVE-2018-13347 Debian Updated 20 November 2026
  • ELSA-2019-2276

    ELSA-2019-2276: mercurial security update (MODERATE)

    Moderate CVE-2018-1000132CVE-2018-13346CVE-2018-13347 Oracle Linux Updated 13 August 2019
  • 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
  • RHSA-2019:2276

    Red Hat Security Advisory: mercurial security update

    CVE-2018-1000132CVE-2018-13346CVE-2018-13347 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2018-13346

    mercurial: Missing check for fragment start position in mpatch.c:mpatch_apply()

    Low CVE-2018-13346 Red Hat Updated 7 November 2026
  • SUSE-SU-2018:1990-1

    Security update for mercurial

    CVE-2018-13346CVE-2018-13347CVE-2018-13348 SUSE Updated 4 February 2026
  • SUSE-SU-2018:1996-1

    Security update for mercurial

    CVE-2018-13346CVE-2018-13347CVE-2018-13348 SUSE Updated 4 February 2026
  • SUSE-SU-2018:1998-1

    Security update for mercurial

    CVE-2018-13346CVE-2018-13347CVE-2018-13348 SUSE Updated 4 February 2026
  • SUSEVEX-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.

    Moderate CVE-2018-13346 SUSE Updated 24 October 2026
  • UBUNTU-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.

    CVE-2018-13346 Ubuntu Updated 8 September 2025
  • openSUSE-SU-2024:10586-1

    mercurial-5.9.1-2.1 on GA media

    CVE-2008-2942CVE-2017-1000115CVE-2017-1000116CVE-2017-17458 openSUSE Updated 4 February 2026

References