CVE-2025-68142PyMdown Extensions has ReDOS bug in Figure Capture extension
Updated under an hour ago ()
Does this affect you?
It affects facelessuser pymdown-extensions. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
PyMdown Extensions is a set of extensions for the `Python-Markdown` markdown project. Versions prior to 10.16.1 have a ReDOS bug found within the figure caption extension (`pymdownx.blocks.caption`). In systems that take unchecked user content, this could cause long hanges when processing the data if a malicious payload was crafted. This issue is patched in Release 10.16.1. As a workaround, those who process unknown user content without timeouts or other safeguards in place to prevent really large, malicious content being aimed at systems may avoid the use of `pymdownx.blocks.caption` until they're able to upgrade.
- CVSS
- 2.7 LOW (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U
- Weakness (CWE)
- CWE-1333
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Dec 17, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
facelessuser pymdown-extensions facelessuser:pymdown_extensions (from the name) | before 10.16.1 | CNA record |
facelessuser pymdown_extensions facelessuser:pymdown_extensions | before 10.16.1 | NVD |
References
- https://github.com/facelessuser/pymdown-extensions/security/advisories/GHSA-r6h4-mm7h-8pmqx-refsource-confirm, exploit, patch, vendor-advisory
- https://github.com/facelessuser/pymdown-extensions/commit/b50d15a56850ed1408a284bba81cc019c6bd72e8x-refsource-misc, patch
- https://pypi.org/project/pymdown-extensions/10.16.1x-refsource-misc, product, release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.