CVE-2018-13348
mediumpriority · track · 31EPSS 0.021 · 82 %ileEURUUSEPSS · scored 2026-10-27
The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (9)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-3v62-ww8w-758mMercurial Improper Input Validation vulnerability2022-05-13ghsa · osvUS
The `mpatch_decode` function in `mpatch.c` in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.
- PYSEC-2018-902018-07-06vendor · osvUS
The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://lists.debian.org/debian-lts-announce/2020/07/msg00032.htmlcnnvd
- https://www.auscert.org.au/bulletins/ESB-2020.2627/cnnvd
- https://www.mercurial-scm.org/repo/hg/rev/90a274965de7cnnvd
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29cnnvd
- https://lists.debian.org/debian-lts-announce/2020/07/msg00032.htmlenisa_euvd
- https://www.mercurial-scm.org/repo/hg/rev/90a274965de7enisa_euvd
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29enisa_euvd
- https://lists.debian.org/debian-lts-announce/2020/07/msg00032.htmlnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan