CVE catalog

CVE-2025-68142

pymdown-extensions: CVE-2025-68142

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianpymdown-extensionssid11.0.1-1fixed
Debianpymdown-extensionsforky11.0.1-1fixed
Debianpymdown-extensionstrixie10.13-1+deb13u1fixed
Debianpymdown-extensionsbookworm9.5-2not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpymdown-extensionssourcesid10.13-4not yet assignedNot reported[1123672]
Debianpymdown-extensionssourceforky10.13-4not yet assignedNot reported[1123672]
Debianpymdown-extensionssourcetrixie10.13-1+deb13u1not yet assignedNot reported[1123672]
Debianpymdown-extensionssourcebookwormNot affectedunimportantNot reported[1123672]

[Debian bug #1123672]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [pymdown-extensions]

    Details (2)
    • 9.5-2 · all · bookworm

      Affected

      dsa · pymdown-extensions · debian · bookworm

    • 9.5-2 · all · bookworm

      Affected

      dsa · pymdown-extensions · debian · bookworm

[Debian 13 (Trixie)]

  • Source package: [pymdown-extensions]

    Details (2)
    • 10.13-1+deb13u1 · all · trixie

      Fixed · Fixed: 10.13-1+deb13u1

      dsa · pymdown-extensions · debian · 13

    • 10.13-1+deb13u1 · all · trixie

      Fixed · Fixed: 10.13-1+deb13u1

      dsa · pymdown-extensions · debian · 13

Observed:

References