{"cve":"CVE-2025-68142","nvd":{"published":"2025-12-16T18:16:16.693","modified":"2026-06-17T09:58:37.553","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":2.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-1333"],"references":["https://github.com/facelessuser/pymdown-extensions/commit/b50d15a56850ed1408a284bba81cc019c6bd72e8","https://github.com/facelessuser/pymdown-extensions/security/advisories/GHSA-r6h4-mm7h-8pmq","https://pypi.org/project/pymdown-extensions/10.16.1"],"products":["facelessuser:pymdown_extensions"],"source":"nvd","synced_at":"2026-10-19T22:17:07.138532058+00:00"},"epss":{"cve":"CVE-2025-68142","score":0.00484,"percentile":0.41707,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-r6h4-mm7h-8pmq","url":"https://osv.dev/vulnerability/GHSA-r6h4-mm7h-8pmq","summary":"PyMdown Extensions has a ReDOS bug in its Figure Capture extension","modified":"2026-07-07T17:57:13.861066791Z","packages":[{"ecosystem":"PyPI","name":"pymdown-extensions","purl":"pkg:pypi/pymdown-extensions","ranges":["<10.16.1"],"fixed":["10.16.1"]}]},{"id":"PYSEC-2026-1825","url":"https://osv.dev/vulnerability/PYSEC-2026-1825","summary":"PyMdown Extensions has a ReDOS bug in its Figure Capture extension","modified":"2026-07-07T17:47:50.504527270Z","packages":[{"ecosystem":"PyPI","name":"pymdown-extensions","purl":"pkg:pypi/pymdown-extensions","ranges":["<10.16.1"],"fixed":["10.16.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}