{"id":"CVE-2022-35649","aliases":["BIT-moodle-2022-35649","GHSA-xp2f-9mx3-3c6p"],"url":"https://o3.security/vulnerability/CVE-2022-35649","summary":"Moodle PostScript Code Injection","details":"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.","published":"2022-07-25T15:27:27Z","modified":"2026-08-12T03:51:42.236532492Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.9.15"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"3.11.8"},{"ecosystem":"Packagist","name":"moodle/moodle","fixedVersion":"4.0.2"}],"fix":null,"references":[{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=436456"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35649.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35649"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2106273"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:42.236532492Z"}}