{"id":"CVE-2018-13346","aliases":["GHSA-9xv4-r2hf-26gh","PYSEC-2018-88"],"url":"https://o3.security/vulnerability/CVE-2018-13346","summary":"Mercurial Improper Input Validation vulnerability","details":"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.","published":"2018-07-06T00:29:00.250Z","modified":"2026-04-16T06:20:17.674598934Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"mercurial","fixedVersion":"4.6.1"}],"fix":null,"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2276"},{"type":"ADVISORY","url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29"},{"type":"FIX","url":"https://www.mercurial-scm.org/repo/hg/rev/faa924469635"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-16T06:20:17.674598934Z"}}