ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2018-13348

Details

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 packages

EcosystemPackageAffected versions
Ubuntu:14.04:LTSmercurial
All versions before 2.8.2-1ubuntu1.4 (fixed in 2.8.2-1ubuntu1.4)
Ubuntu:16.04:LTSmercurial
All versions before 3.7.3-1ubuntu1.1 (fixed in 3.7.3-1ubuntu1.1)
Ubuntu:18.04:LTSmercurial
All versions before 4.5.3-1ubuntu2.1 (fixed in 4.5.3-1ubuntu2.1)

References