| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1414-1, DLA-2293-1 |
| Debian Bugs | 901050 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| mercurial (PTS) | bullseye | 5.6.1-4 | fixed |
| bullseye (security) | 5.6.1-4+deb11u1 | fixed | |
| bookworm, bookworm (security) | 6.3.2-1+deb12u1 | fixed | |
| trixie | 7.0.1-2 | fixed | |
| forky, sid | 7.1.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| mercurial | source | jessie | 3.1.2-2+deb8u5 | DLA-1414-1 | ||
| mercurial | source | stretch | 4.0-1+deb9u2 | DLA-2293-1 | ||
| mercurial | source | (unstable) | 4.6.1-1 | 901050 |
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29
https://www.mercurial-scm.org/repo/hg/rev/faa924469635