CVE-2025-68142 - CVE House
Back to Database
Status published Low CVE-2025-68142

PyMdown Extensions has ReDOS bug in Figure Capture extension

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-68142

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

facelessuser

View all reports →

Affected Software

pymdown-extensions
Vulnerable Versions:
< 10.16.1

Timeline

Official Publish: December 16th, 2025
Last Modified: December 17th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)