Security mailing lists by PureSourceCode

CVE-2022-35649

CRITICAL 9.8CVSS 3.1

Moodle PostScript Code Injection

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
25 Jul 2022
Last modified
17 Jun 2026
Assigned by
patrick@puiterwijk.org
NVD status
Modified
Weakness
CWE-20CWE-94
Also known as
BIT-moodle-2022-35649GHSA-xp2f-9mx3-3c6p
Sources
NVDJSONOSV GHSA-xp2f-9mx3-3c6pJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.9.0, < 3.9.15 3.9.15
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 3.11.0, < 3.11.8 3.11.8
NVD moodle moodle
cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.0.2 4.0.2
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
OSV Packagist moodle/moodle >= 3.9, < 3.9.15 3.9.15
OSV Packagist moodle/moodle >= 3.11, < 3.11.8 3.11.8
OSV Packagist moodle/moodle >= 4.0, < 4.0.2 4.0.2

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 25 Jul 2022)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Jul 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.