{"cve":"CVE-2018-13346","nvd":{"published":"2018-07-06T00:29:00.250","modified":"2026-06-17T01:39:14.917","status":"Modified","description":"The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proceeds in cases where the fragment start is past the end of the original data, aka OVE-20180430-0004.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-20"],"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/rev/faa924469635","https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.6.1_.282018-06-06.29","https://access.redhat.com/errata/RHSA-2019:2276"],"products":["mercurial:mercurial"],"source":"nvd","synced_at":"2026-10-19T20:51:47.459859389+00:00"},"epss":{"cve":"CVE-2018-13346","score":0.02356,"percentile":0.8375,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9xv4-r2hf-26gh","url":"https://osv.dev/vulnerability/GHSA-9xv4-r2hf-26gh","summary":"Mercurial Improper Input Validation vulnerability","modified":"2024-09-25T18:01:32.015275Z","packages":[{"ecosystem":"PyPI","name":"mercurial","purl":"pkg:pypi/mercurial","ranges":["<4.6.1"],"fixed":["4.6.1"]}]},{"id":"PYSEC-2018-88","url":"https://osv.dev/vulnerability/PYSEC-2018-88","summary":"","modified":"2026-06-10T17:01:23.743041532Z","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."]}