CVE-2022-35649
publishedmoodle: PostScript Code Injection / Remote code execution risk
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | MoodleFixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15 | Affected | Not stated | fedora |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Moodle | Fixed in moodle 4.0.2, moodle 3.11.8, moodle 3.9.15 (affected) | fedora · cna |
Weaknesses
1- CWE-94 CWE-94 - Improper Control of Generation of Code ('Code Injection')
References
5- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75044
- https://bugzilla.redhat.com/show_bug.cgi?id=2106273
- FEDORA-2022-81ce74b2dd https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6MOKYVRNFNAODP2XSMGJ5CRDUZCZKAR3/
- FEDORA-2022-7e7ce7df2e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKUSFPSYFINSQFSOHDQIDVE6FWBEU6V/
- https://moodle.org/mod/forum/discuss.php?d=436456
Provider assertions
2fedora · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 85cfd73c7b5462ed991ede5ab30759d08e8711f46e1c2dc51f7b8c841c2912b6
- Ingested
- 23 Sep 2026, 08:01:13 UTC
- Source record
- Official CVE record