CVE-2025-68142Facelessuser Pymdown Extensions
Low 2.7 No auth needed
Follow: this CVE · Facelessuser · Facelessuser Pymdown Extensions We alert you by email or Slack (account required).
- Priority
- 31
- CVSS 4.0
- 2.7
- EPSS
- —
- Auth required
- No
- Published
- Dec 16, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Pymdown Extensions.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pymdown-extensions |
< 10.16.1 |
10.16.1 |
pip install "pymdown-extensions>=10.16.1" |
| PyPI | pymdown-extensions |
< 10.16.1 |
10.16.1 |
pip install "pymdown-extensions>=10.16.1" |
Per OSV / GitHub Advisories (GHSA-r6h4-mm7h-8pmq, PYSEC-2026-1825). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| facelessuser | pymdown_extensions | < 10.16.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Patch Vendor Advisory
- pypi.org Product Release Notes