Security mailing lists by PureSourceCode

CVE-2025-68142

LOW 2.7CVSS 4.0

PyMdown Extensions has a ReDOS bug in its Figure Capture extension

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.

Published
16 Dec 2025
Last modified
7 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-1333
Also known as
GHSA-r6h4-mm7h-8pmqPYSEC-2026-1825
Sources
NVDJSONOSV GHSA-r6h4-mm7h-8pmqJSONOSV PYSEC-2026-1825JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 LOW 2.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U
OSV PyPA CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD facelessuser pymdown_extensions
cpe:2.3:a:facelessuser:pymdown_extensions:*:*:*:*:*:*:*:*
< 10.16.1 10.16.1
OSV PyPI pymdown-extensions < 10.16.1 10.16.1

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 16 Dec 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.