| Name | 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. |
| Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1414-1, DLA-2293-1 |
| Debian Bugs | 901050 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| mercurial (PTS) | bullseye | 5.6.1-4 | fixed |
| bookworm | 6.3.2-1 | fixed |
| trixie, sid | 6.8-3 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29
https://www.mercurial-scm.org/repo/hg/rev/faa924469635