Original description
The vulnerability was found in Moodle, occurs due to improper input validation when parsing PostScript code. An omitted execution parameter results in a remote code execution risk for sites running GhostScript versions older than 9.50. Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
- Moodle ≥ 3.11.0 < 3.11.8≥ 4.0.0 < 4.0.2≥ 3.9.0 < 3.9.15 Fixed in: 3.11.8, 4.0.2, 3.9.15 exact match
Details
- Published
- 2022-07-25
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-94, CWE-20
- EPSS (30-day exploit probability)
- 8.55% (percentile 95)
References
- cve.org/CVE-2022-35649
- nvd.nist.gov/vuln/detail/CVE-2022-35649
- git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044
- bugzilla.redhat.com/show_bug.cgi?id=2106273
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M...
- moodle.org/mod/forum/discuss.php?d=436456
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.