{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-68142","id":"CVE-2025-68142","title":"PyMdown Extensions has ReDOS bug in Figure Capture extension","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 ","descriptionLong":"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":"2025-12-16T18:06:37.756Z","updated":"2026-10-28T02:31:11.905489032Z","reserved":"2025-12-15T18:15:08.404Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":2.7,"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","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":2.7,"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","rating":"low","source":"GitHub_M"},{"version":"4.0","score":2.7,"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/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","rating":"low","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"low","source":"GitHub"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"NVD"}],"rating":"low","products":["facelessuser pymdown-extensions"],"affectedProducts":[{"vendor":"facelessuser","product":"pymdown-extensions","defaultStatus":null,"versions":[{"version":"< 10.16.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pymdown-extensions","purl":"pkg:pypi/pymdown-extensions","ranges":["<10.16.1"],"fixed":["10.16.1"],"advisory":"GHSA-r6h4-mm7h-8pmq"}],"cwes":["CWE-1333"],"aliases":["GHSA-r6h4-mm7h-8pmq","PYSEC-2026-1825"],"references":[{"url":"https://github.com/facelessuser/pymdown-extensions/security/advisories/GHSA-r6h4-mm7h-8pmq","tags":["x_refsource_CONFIRM","Exploit","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/facelessuser/pymdown-extensions/commit/b50d15a56850ed1408a284bba81cc019c6bd72e8","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://pypi.org/project/pymdown-extensions/10.16.1","tags":["x_refsource_MISC","Product","Release Notes","package","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68142.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68142","tags":["advisory"]},{"url":"https://github.com/facelessuser/pymdown-extensions","tags":["package"]},{"url":"https://pypi.org/project/pymdown-extensions","tags":["package"]},{"url":"https://github.com/advisories/GHSA-r6h4-mm7h-8pmq","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00519,"epssPercentile":0.44781,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-68142","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68142","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-68142","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r6h4-mm7h-8pmq","ok":true,"note":"GHSA-r6h4-mm7h-8pmq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-68142","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}