{"id":"CVE-2018-13346","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.","aliases":["GHSA-9xv4-r2hf-26gh","PYSEC-2018-88"],"modified":"2026-04-16T06:20:17.674598934Z","published":"2018-07-06T00:29:00.250Z","related":["SUSE-SU-2018:1990-1","SUSE-SU-2018:1996-1","SUSE-SU-2018:1998-1","openSUSE-SU-2024:10586-1"],"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"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13346.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"4.6.1"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}