Open-source package vulnerability · PyPI
CVE-2025-46656: markdownify allows large headline prefixes such as <h9999999>, which causes memory consumption
lowCVSS 3.1 2.9GHSA-7mpr-5m44-h73r
python-markdownify (aka markdownify) before 0.14.1 allows large headline prefixes such as in addition to through . This causes memory consumption.
Published Apr 27, 2025 · Updated Apr 28, 2025
Affected packages
markdownify
- Ecosystem
- PyPI
- Affected
- < 0.14.1
- Fixed in
- 0.14.1
- Check
pip show markdownify
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
python-markdownify (aka markdownify) before 0.14.1 allows large headline prefixes such as in addition to through . This causes memory consumption.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-46656
- https://github.com/matthewwithanm/python-markdownify/issues/143
- https://github.com/matthewwithanm/python-markdownify/compare/0.14.0...0.14.1
- https://github.com/matthewwithanm/python-markdownify/commit/959561879693bf4a576f99c6733b50b01186aa08
- https://github.com/advisories/GHSA-7mpr-5m44-h73r
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
