Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. markdownify
  4. ›
  5. CVE-2025-46656

CVE-2025-46656: markdownify allows large headline prefixes such as <h9999999>, which causes memory consumption

April 27, 2025 (updated April 28, 2025)

python-markdownify (aka markdownify) before 0.14.1 allows large headline prefixes such as in addition to through . This causes memory consumption.

References

  • github.com/advisories/GHSA-7mpr-5m44-h73r
  • github.com/matthewwithanm/python-markdownify
  • github.com/matthewwithanm/python-markdownify/commit/959561879693bf4a576f99c6733b50b01186aa08
  • github.com/matthewwithanm/python-markdownify/compare/0.14.0...0.14.1
  • github.com/matthewwithanm/python-markdownify/issues/143
  • nvd.nist.gov/vuln/detail/CVE-2025-46656

Code Behaviors & Features

Detect and mitigate CVE-2025-46656 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.14.1

Fixed versions

  • 0.14.1

Solution

Upgrade to version 0.14.1 or above.

Impact 2.9 LOW

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-1284: Improper Validation of Specified Quantity in Input

Source file

pypi/markdownify/CVE-2025-46656.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:49 +0000.