Improper Input Validation The advisory has been revoked - it doesn't affect any version of package mercurial  (opens in a new tab)


Threat Intelligence

EPSS
2.1% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1810-MERCURIAL-614552
  • published11 Jul 2018
  • disclosed6 Jul 2018

Introduced: 6 Jul 2018

CVE-2018-13348  (opens in a new tab)
CWE-20  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:18.10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mercurial package and not the mercurial package as distributed by Ubuntu.

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.