
CVE catalog
CVE-2018-13347
mercurial: CVE-2018-13347
- Severity
- High · CVSS 7.5
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.67% · Oct 25, 2026
mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mercurial | sid | 7.2.4-2 | fixed |
| Debian | mercurial | forky | 7.2.4-2 | fixed |
| Debian | mercurial | trixie | 7.0.1-2 | fixed |
| Debian | mercurial | bookworm | 6.3.2-1+deb12u1 | fixed |
| Debian | mercurial | bookworm-security | 6.3.2-1+deb12u1 | fixed |
| Ubuntu | mercurial | 14.04 | 2.6.3-1 | vulnerable |
| Ubuntu | mercurial | 14.04 | 2.7.2-1 | vulnerable |
| Ubuntu | mercurial | 14.04 | 2.8.1-2 | vulnerable |
| Ubuntu | mercurial | 14.04 | 2.8.2-1ubuntu1 | vulnerable |
| Ubuntu | mercurial | 14.04 | 2.8.2-1ubuntu1.3 | vulnerable |
| Ubuntu | mercurial | 14.04 | 2.8.2-1ubuntu1.4 | fixed |
| Ubuntu | mercurial | 16.04 | 3.4-1ubuntu2 | vulnerable |
| Ubuntu | mercurial | 16.04 | 3.6.2-1ubuntu2 | vulnerable |
| Ubuntu | mercurial | 16.04 | 3.7.3-1ubuntu1 | vulnerable |
| Ubuntu | mercurial | 16.04 | 3.7.3-1ubuntu1.1 | fixed |
| Ubuntu | mercurial | 18.04 | 4.3.1-2 | vulnerable |
| Ubuntu | mercurial | 18.04 | 4.5-1ubuntu1 | vulnerable |
| Ubuntu | mercurial | 18.04 | 4.5.2-0ubuntu2 | vulnerable |
| Ubuntu | mercurial | 18.04 | 4.5.3-1ubuntu2 | vulnerable |
| Ubuntu | mercurial | 18.04 | 4.5.3-1ubuntu2.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mercurial | source | sid | 4.6.1-1 | not yet assigned | Not reported | [901050] |
| Debian | mercurial | source | forky | 4.6.1-1 | not yet assigned | Not reported | [901050] |
| Debian | mercurial | source | trixie | 4.6.1-1 | not yet assigned | Not reported | [901050] |
| Debian | mercurial | source | bookworm | 4.6.1-1 | not yet assigned | Not reported | [901050] |
| Ubuntu | mercurial | deb | 14.04 | 2.8.2-1ubuntu1.4 | Not reported | UBUNTU-CVE-2018-13347 | Not reported |
| Ubuntu | mercurial | deb | 16.04 | 3.7.3-1ubuntu1.1 | Not reported | UBUNTU-CVE-2018-13347 | Not reported |
| Ubuntu | mercurial | deb | 18.04 | 4.5.3-1ubuntu2.1 | Not reported | UBUNTU-CVE-2018-13347 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [mercurial]Fixed
Details (4)
6.3.2-1+deb12u1· amd64 · bookwormFixed · Fixed:
4.6.1-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· arm64 · bookwormFixed · Fixed:
4.6.1-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
4.6.1-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
4.6.1-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
- [mercurial-common]Fixed
Source package: [mercurial]
Details (4)
6.3.2-1+deb12u1· all · bookwormFixed · Fixed:
4.6.1-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· all · bookwormFixed · Fixed:
4.6.1-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· all · bookworm-securityFixed · Fixed:
4.6.1-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
6.3.2-1+deb12u1· all · bookworm-securityFixed · Fixed:
4.6.1-1dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12
[Debian 13 (Trixie)]
- [mercurial]Fixed
Details (2)
7.0.1-2· amd64 · trixieFixed · Fixed:
4.6.1-1dsa · mercurial · debian · 13
7.0.1-2· arm64 · trixieFixed · Fixed:
4.6.1-1dsa · mercurial · debian · 13
- [mercurial-common]Fixed
Source package: [mercurial]
Details (2)
7.0.1-2· all · trixieFixed · Fixed:
4.6.1-1dsa · mercurial · debian · 13
7.0.1-2· all · trixieFixed · Fixed:
4.6.1-1dsa · mercurial · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2019_2276.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-13347]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-13347]
- [https://security-tracker.debian.org/tracker/CVE-2018-13347]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-13347.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2019/wid-sec-w-2022-0517.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]