CVE Explorer
CVE-2025-68142
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 lar
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pymdown-extensions","vendor":"facelessuser","versions":[{"status":"affected","version":"< 10.16.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:503f6b6ceb7cf1b63561569cfb3dcb2bfc77a53c1b9ae241ab109117ed0691dc · sha256:3837ecf991ad8185… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":2.7,"baseSeverity":"LOW","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:503f6b6ceb7cf1b63561569cfb3dcb2bfc77a53c1b9ae241ab109117ed0691dc · sha256:3837ecf991ad8185… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-1333","description":"CWE-1333: Inefficient Regular Expression Complexity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:503f6b6ceb7cf1b63561569cfb3dcb2bfc77a53c1b9ae241ab109117ed0691dc · sha256:3837ecf991ad8185… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/facelessuser/pymdown-extensions/commit/b50d15a56850ed1408a284bba81cc019c6bd72e8","tags":["x_refsource_MISC"],"url":"https://github.com/facelessuser/pymdown-extensions/commit/b50d15a56850ed1408a284bba81cc019c6bd72e8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:503f6b6ceb7cf1b63561569cfb3dcb2bfc77a53c1b9ae241ab109117ed0691dc · sha256:3837ecf991ad8185… · /containers/cna/references/1
{"name":"https://github.com/facelessuser/pymdown-extensions/security/advisories/GHSA-r6h4-mm7h-8pmq","tags":["x_refsource_CONFIRM"],"url":"https://github.com/facelessuser/pymdown-extensions/security/advisories/GHSA-r6h4-mm7h-8pmq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:503f6b6ceb7cf1b63561569cfb3dcb2bfc77a53c1b9ae241ab109117ed0691dc · sha256:3837ecf991ad8185… · /containers/cna/references/0
{"name":"https://pypi.org/project/pymdown-extensions/10.16.1","tags":["x_refsource_MISC"],"url":"https://pypi.org/project/pymdown-extensions/10.16.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:503f6b6ceb7cf1b63561569cfb3dcb2bfc77a53c1b9ae241ab109117ed0691dc · sha256:3837ecf991ad8185… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.