High severity7.5NVD Advisory· Published Jul 6, 2018· Updated Jun 17, 2026
CVE-2018-13346
CVE-2018-13346
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mercurialPyPI | < 4.6.1 | 4.6.1 |
Affected products
5- ghsa-coords5 versionspkg:pypi/mercurialpkg:rpm/opensuse/mercurial&distro=openSUSE%20Tumbleweedpkg:rpm/suse/mercurial&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015pkg:rpm/suse/mercurial&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/mercurial&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3
< 4.6.1+ 4 more
- (no CPE)range: < 4.6.1
- (no CPE)range: < 5.9.1-2.1
- (no CPE)range: < 4.5.2-3.3.1
- (no CPE)range: < 2.3.2-0.18.9.1
- (no CPE)range: < 2.8.2-15.13.1
Patches
Vulnerability mechanics
References
7- www.mercurial-scm.org/repo/hg/rev/faa924469635nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-9xv4-r2hf-26ghghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-13346ghsaADVISORY
- www.mercurial-scm.org/wiki/WhatsNewnvdThird Party AdvisoryWEB
- access.redhat.com/errata/RHSA-2019:2276nvdWEB
- github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2018-88.yamlghsaWEB
- lists.debian.org/debian-lts-announce/2020/07/msg00032.htmlnvdWEB
News mentions
0No linked articles in our index yet.