CVE-2022-35649: The vulnerability was found in Moodle, occurs due to improper input validation when parsing PostScript code.

CVE-2022-35649 affects 10 listed versions of Moodle in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
9%EPSS (next 30 days)
25 July 2022published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Moodle

10 of 250 listed versions are affected. Fixed in 4.0.2, 3.11.8, 3.9.15. The newest release, 5.3.1, is not affected.

4.0.1 4.0.0 3.11.7 3.11.6 3.11.5 3.11.4 3.9.14 3.9.13 3.9.12 3.9.11

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Fedora on 25 July 2022. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2022-35649 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.