{"cve":"CVE-2018-13347","nvd":{"published":"2018-07-06T00:29:00.297","modified":"2026-06-17T01:39:15.047","status":"Modified","description":"mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-190"],"references":["https://access.redhat.com/errata/RHSA-2019:2276","https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html","https://www.mercurial-scm.org/repo/hg-committed/log?rev=modifies%28%22mercurial%2Fmpatch.c%22%29+and+4.5%3A%3A","https://www.mercurial-scm.org/repo/hg/rev/1acfc35d478c","https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29"],"products":["mercurial:mercurial"],"source":"nvd","synced_at":"2026-10-19T20:51:47.459859389+00:00"},"epss":{"cve":"CVE-2018-13347","score":0.02665,"percentile":0.85728,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3mjj-mr4f-qxmx","url":"https://osv.dev/vulnerability/GHSA-3mjj-mr4f-qxmx","summary":"Mercurial mishandles integer addition and subtraction","modified":"2024-09-25T20:01:08.124503Z","packages":[{"ecosystem":"PyPI","name":"mercurial","purl":"pkg:pypi/mercurial","ranges":["<4.6.1"],"fixed":["4.6.1"]}]},{"id":"PYSEC-2018-89","url":"https://osv.dev/vulnerability/PYSEC-2018-89","summary":"","modified":"2026-06-10T17:01:23.753435195Z","packages":[{"ecosystem":"PyPI","name":"mercurial","purl":"pkg:pypi/mercurial","ranges":["<4.6.1"],"fixed":["4.6.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}