All reports
High

Mercurial Improper Input Validation vulnerability

Affected versions

Version ranges need review.

Affected versions
<4.6.1
Fixed version
4.6.1
Affected versions
< 4.6.1
Fixed version
4.6.1

Exploitation

CVE-2018-13348

Probability of exploitation in the next 30 days: 2.15%

FIRST EPSS · 2026-11-21

Description

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.

Links