# CVE-2026-67422: pymdown-extensions: Exponential-backtracking ReDoS in caret, tilde, betterem, and magiclink inline processors

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-06T20:26:31.930Z
- Modified: 2026-10-24T16:10:00.153Z
- Also known as: GHSA-gm37-52c6-37mw, PYSEC-2026-3654
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

pymdown-extensions is a collection of extensions for the Python Markdown library. In versions up to and including 11.0, four inline processors (caret, tilde, betterem, and magiclink) use regular expressions whose content groups can partition a run of delimiter characters in exponentially many ways, causing catastrophic backtracking. As a result, a single untrusted Markdown line under 50 bytes rendered with markdown.markdown() in each extension's default configuration drives the rendering thread into unbounded CPU usage that grows exponentially with input length, enabling an unauthenticated remote attacker who can submit Markdown to cause denial of service. The exposure is concrete for web applications that render user-supplied Markdown (comments, wikis, issue bodies, live preview), including any app using pymdownx.extra which bundles the vulnerable betterem default, as well as hosted docs/CI systems that build untrusted Markdown. The issue has been fixed in version 11.0.1.

(As written by CVE List.)

## Affected

- facelessuser pymdown-extensions: < 11.0.1
- pymdown-extensions (PyPI): before 11.0.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/facelessuser/pymdown-extensions/security/advisories/GHSA-gm37-52c6-37mw> (exploit, web)
- <https://github.com/facelessuser/pymdown-extensions/commit/c68498598d7b13011bb4571350b6e3612a4ce44b> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-67422> (advisory)
- <https://github.com/facelessuser/pymdown-extensions> (package)
- <https://pypi.org/project/pymdown-extensions> (package)
- <https://github.com/advisories/GHSA-gm37-52c6-37mw> (advisory)

## Sources

- CVE List: [CVE-2026-67422](https://www.cve.org/CVERecord?id=CVE-2026-67422), CVE Terms of Use, modified 2026-08-07
- GitHub Advisory Database: [GHSA-gm37-52c6-37mw](https://github.com/advisories/GHSA-gm37-52c6-37mw), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-67422](https://nvd.nist.gov/vuln/detail/CVE-2026-67422), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-3654](https://osv.dev/vulnerability/PYSEC-2026-3654), CC-BY-4.0, modified 2026-08-10

---

Page: https://cve.day/CVE-2026-67422 · Whole record: https://cve.day/CVE-2026-67422.json · Rebuilt by cve.day 2026-11-25T22:59:31.403Z
