
CVE catalog
CVE-2025-68142
pymdown-extensions: CVE-2025-68142
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.48% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pymdown-extensions | sid | 11.0.1-1 | fixed |
| Debian | pymdown-extensions | forky | 11.0.1-1 | fixed |
| Debian | pymdown-extensions | trixie | 10.13-1+deb13u1 | fixed |
| Debian | pymdown-extensions | bookworm | 9.5-2 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pymdown-extensions | source | sid | 10.13-4 | not yet assigned | Not reported | [1123672] |
| Debian | pymdown-extensions | source | forky | 10.13-4 | not yet assigned | Not reported | [1123672] |
| Debian | pymdown-extensions | source | trixie | 10.13-1+deb13u1 | not yet assigned | Not reported | [1123672] |
| Debian | pymdown-extensions | source | bookworm | Not affected | unimportant | Not reported | [1123672] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-pymdownx]Affected
Source package: [pymdown-extensions]
Details (2)
9.5-2· all · bookwormAffected
dsa · pymdown-extensions · debian · bookworm
9.5-2· all · bookwormAffected
dsa · pymdown-extensions · debian · bookworm
[Debian 13 (Trixie)]
- [python3-pymdownx]Fixed
Source package: [pymdown-extensions]
Details (2)
10.13-1+deb13u1· all · trixieFixed · Fixed:
10.13-1+deb13u1dsa · pymdown-extensions · debian · 13
10.13-1+deb13u1· all · trixieFixed · Fixed:
10.13-1+deb13u1dsa · pymdown-extensions · debian · 13
Observed: