CVE
CVE-2022-40314
published critical CVSS 3.1 · 9.8moodle: Remote code execution risk when restoring malformed backup file
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | moodle4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions | Affected | Not stated | fedora |
Description
A remote code execution risk when restoring backup files originating from Moodle 1.9 was identified.
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.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | moodle | 4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions (affected) | fedora · cna |
Weaknesses
2- Remote code execution
- CWE-502 CWE-502 Deserialization of Untrusted Data
References
2Provider assertions
3fedora · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0903244bcd40f5ff97d8cdcb34712a70e03c56c8873f33684c81fb58c0a92e28
- Ingested
- 23 Sep 2026, 08:02:28 UTC
- Source record
- Official CVE record