ADVISORIES

Vulnerability

CVE-2018-13348

The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.

11 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • DEBIAN-CVE-2018-13348

    The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka…

    CVE-2018-13348 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
  • GHSA-3v62-ww8w-758m

    Mercurial Improper Input Validation vulnerability

    High CVE-2018-13348 PyPI Updated 25 September 2024
  • PYSEC-2018-90

    The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka…

    CVE-2018-13348 PyPI Updated 10 June 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-13348

    The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka…

    Moderate CVE-2018-13348 SUSE Updated 2 November 2026
  • UBUNTU-CVE-2018-13348

    The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka…

    CVE-2018-13348 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