Inefficient regular expression complexity in pymdown-extensions - CVE-2026-67422
Published: August 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in the caret, tilde, betterem, and magiclink inline processors when rendering untrusted Markdown input through the public API in the default configuration. A remote attacker can submit a specially crafted Markdown line to cause a denial of service.
A single untrusted Markdown line under 50 bytes can drive the rendering thread into unbounded CPU usage.
Affected software
openEuler
Fedora
python-pymdown-extensions
python3-pymdown-extensions
How to mitigate CVE-2026-67422
python-pymdown-extensions - update to 10.7-3
python3-pymdown-extensions - update to 10.7-3
python-pymdown-extensions - addressed in versions 12.3-1.fc45, 12.3-1.fc46, 12.3-2.fc44
External References
Related Security Bulletins
- Inefficient regular expression complexity in pymdown-extensions
- openEuler 24.03 LTS SP3 update for python-pymdown-extensions
- openEuler 24.03 LTS SP1 update for python-pymdown-extensions
- openEuler 24.03 LTS SP4 update for python-pymdown-extensions
- Fedora 46 update for python-pymdown-extensions
- Fedora 45 update for python-pymdown-extensions
- Fedora 44 update for python-pymdown-extensions