CVE-2020-25630Moodle
High 7.5 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Dec 8, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
A vulnerability was found in Moodle where the decompressed size of zip files was not checked against available user quota before unzipping them, which could lead to a denial of service risk. This affects versions 3.9 to 3.9.1, 3.8 to 3.8.4, 3.7 to 3.7.7, 3.5 to 3.5.13 and earlier unsupported versions. Fixed in 3.9.2, 3.8.5, 3.7.8 and 3.5.14.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 3.9 < 3.9.2 |
3.9.2 |
composer require "moodle/moodle:^3.9.2" |
| Packagist | moodle/moodle |
≥ 3.8 < 3.8.5 |
3.8.5 |
composer require "moodle/moodle:^3.8.5" |
| Packagist | moodle/moodle |
≥ 3.7 < 3.7.8 |
3.7.8 |
composer require "moodle/moodle:^3.7.8" |
| Packagist | moodle/moodle |
≥ 3.5 < 3.5.14 |
3.5.14 |
composer require "moodle/moodle:^3.5.14" |
Per OSV / GitHub Advisories (GHSA-66xp-28cq-mrf2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≥ 3.5.0 < 3.5.14 |
| moodle | moodle | ≥ 3.7.0 < 3.7.8 |
| moodle | moodle | ≥ 3.8.0 < 3.8.5 |
| moodle | moodle | ≥ 3.9.0 < 3.9.2 |
Official sources
References
Links published by the sources. Open them with care.
- moodle.org Patch Vendor Advisory