Integer Overflow or Wraparound Affecting emacs-mercurial-el package, versions <0:2.6.2-10.el7


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
2.67% (86th 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-ORACLE7-EMACSMERCURIALEL-2538124
  • published10 Apr 2022
  • disclosed6 Jul 2018

Introduced: 6 Jul 2018

CVE-2018-13347  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Oracle:7 emacs-mercurial-el to version 0:2.6.2-10.el7 or higher.
This issue was patched in ELSA-2019-2276.

NVD Description

Note: Versions mentioned in the description apply only to the upstream emacs-mercurial-el package and not the emacs-mercurial-el package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.