GitHub Advisoryadvisory · PyPI
GHSA-7mpr-5m44-h73r markdownify allows large headline prefixes such as <h9999999>, which causes memory consumption
LOW
Official page ↗
- Aliases
- CVE-2025-46656
- Ecosystem
- PyPI
- Packages
- markdownify
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-1284
- Reviewed
- 2025-04-28
Affected packages
• PyPI markdownify: < 0.14.1 → fixed in 0.14.1
Description
python-markdownify (aka markdownify) before 0.14.1 allows large headline prefixes such as in addition to through . This causes memory consumption.
Related
Alias · CVE (1)
- CVE-2025-46656 python-markdownify (aka markdownify) before 0.14.1 allows large headline prefixes such as <h9999999> in addition to <h1> through <h6>. vulnerability
Weakness · CWE (1)
- CWE-1284 Improper Validation of Specified Quantity in Input weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-46656 advisory
- https://github.com/matthewwithanm/python-markdownify/issues/143 web
- https://github.com/matthewwithanm/python-markdownify/commit/959561879693bf4a576f99c6733b50b01186aa08 web
- https://github.com/matthewwithanm/python-markdownify package
- https://github.com/matthewwithanm/python-markdownify/compare/0.14.0...0.14.1 web