PT-2025-51772 · Unknown+2 · Python-Markdown+3

CVE-2025-68142

·

Published

2025-12-16

·

Updated

2026-07-07

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions PyMdown Extensions versions prior to 10.16.1
Description PyMdown Extensions, a set of extensions for the Python-Markdown project, contains a Regular Expression Denial of Service (ReDoS) issue within the figure caption extension (pymdownx.blocks.caption). Processing unchecked user content with versions prior to 10.16.1 could lead to long hangs if a malicious payload is crafted.
Recommendations Upgrade to version 10.16.1 or later. As a workaround, avoid using the pymdownx.blocks.caption extension until you are able to upgrade.

Exploit

Fix

DoS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-03573
CVE-2025-68142
GHSA-R6H4-MM7H-8PMQ
PYSEC-2026-1825

Affected Products

Debian
Pymdown Extensions
Python-Markdown
Red Os