Advisory

PYSEC-2018-88

Also known as: CVE-2018-13346, GHSA-9xv4-r2hf-26gh

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2018-07-06 00:29 UTC
Modified
2026-06-10 17:01 UTC

Affected packages and fixes

mercurial

PyPI · All systems

Affected

  • introduced 0, fixed 4.6.1 (ecosystem)

Fixed versions

4.6.1

Fix

  • Fixed version 4.6.1
    pip install --upgrade mercurial==4.6.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences