{"action":"Upgrade mercurial to 4.6.1 or later.","affected":[{"fixed":"4.6.1","introduced":"0"}],"component":"mercurial","cve_ids":["CVE-2018-13346"],"ecosystem":"PyPI","epss":0.02356,"exploited":false,"fixed_versions":["4.6.1"],"ghsa_id":"GHSA-9xv4-r2hf-26gh","id":"tcs_01M5KG882GJFM9X98SWFNGKD8A","modified_at":"2026-06-10T17:01:23.743041532Z","published_at":"2018-07-06T00:29:00Z","references":["https://osv.dev/vulnerability/PYSEC-2018-88","https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29","https://www.mercurial-scm.org/repo/hg/rev/faa924469635","https://access.redhat.com/errata/RHSA-2019:2276","https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html","https://github.com/advisories/GHSA-9xv4-r2hf-26gh"],"severity":{"label":"unknown"},"sources":[{"source":"osv","source_id":"PYSEC-2018-88","url":"https://osv.dev/vulnerability/PYSEC-2018-88"}],"summary":"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."}