CVE-2018-13348

unknown
Published 2022-05-13 · Modified 2024-05-01
CVSS v3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v2
VIR risk

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-13348

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2018-13348.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed4.6.1-1
debian debianbullseyefixed4.6.1-1
debian debianforkyfixed4.6.1-1
debian debiansidfixed4.6.1-1
debian debiantrixiefixed4.6.1-1

Package impact

EcosystemPackageVulnerableFixed
python PyPImercurial<4.6.14.6.1

References

Verify integrity in audit chain (admin only). AS-IS.