Advisory

DEBIAN-CVE-2025-68142

Also known as: CVE-2025-68142

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2025-12-16 18:16 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

pymdown-extensions

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 10.13-1+deb13u1 (ecosystem)

Fixed versions

10.13-1+deb13u1

Fix

  • Fixed version 10.13-1+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pymdown-extensions

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 10.13-4 (ecosystem)

Fixed versions

10.13-4

Fix

  • Fixed version 10.13-4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences