by Michael Hawkins.
Rendering of TeX content with mimetex in the formula editor required execution time limitations to prevent a denial of service risk.
Severity/Risk: Serious
Versions affected: 5.1 to 5.1.1, 5.0 to 5.0.4, 4.5 to 4.5.8 and earlier unsupported versions
Versions fixed: 5.1.2, 5.0.5 and 4.5.9
Reported by: Aleksey Solovev (Positive Technologies)
CVE identifier: CVE-2026-26047
Changes (5.1.2): https://github.com/moodle/moodle/commit/8683b4a04939332e353cad1be51222930dc40b2c
Tracker issue: MDL-86785 Denial of service risk in TeX formula editor