What’s Vulnerable › Vulnerabilities

CVE-2018-13348

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.

Affected products

How to fix

Upgrade to a fixed version: mercurial 4.6.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2018-13348 or the next vulnerability affects your stack