Moodle TeX formula editor is vulnerable to DoS through lack of execution time limits
Impact
A Denial of Service vulnerability was identified in Moodle’s TeX formula editor. When rendering TeX content using mimetex, insufficient execution time limits could allow specially crafted formulas to consume excessive server resources. An authenticated user could abuse this behavior to degrade performance or cause service interruption.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 5.1.0-beta before 5.1.2Ecosystem versions | 5.1.2 |
| From 5.0.0-beta before 5.0.5Ecosystem versions | 5.0.5 |
| Earlier releases before 4.5.9Ecosystem versions | 4.5.9 |
Version evidence: OSV · GHSA-cg8j-5cr2-568q
View original version evidence (428 explicit versions)
Original source description
A Denial of Service vulnerability was identified in Moodle’s TeX formula editor. When rendering TeX content using mimetex, insufficient execution time limits could allow specially crafted formulas to consume excessive server resources. An authenticated user could abuse this behavior to degrade performance or cause service interruption.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2026-26047
- Patch github.com/moodle/moodle/commit/8683b4a04939332e353cad1be51222930dc40b2c
- Security advisory access.redhat.com/security/cve/CVE-2026-26047
- Source reference bugzilla.redhat.com/show_bug.cgi
- Source reference github.com/moodle/moodle
- Source reference moodle.org/mod/forum/discuss.php