VULNERABILITY INTELLIGENCE

CVE-2018-13348

CVSS score7.5 HIGH
EPSS probability2.10%
CISA KEVNot currently listed
Published2018-07-06
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

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.

Weakness classification

  • CWE-20: Improper Input Validation

Primary references