CVE-2025-62396: An error-handling issue in the Moodle router (r.php) could cause the application to display internal directory
CVE-2025-62396 is a medium-severity flaw (CVSS 5.3) affecting moodle. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An error-handling issue in the Moodle router (r.php) could cause the application to display internal directory listings when specific HTTP headers were not properly configured.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 77%) |
| CISA exploited list | No |
| Weakness | CWE-548 |
| Published | 2025-10-23 |
| Last modified | 2026-10-27 |
Last updated 2026-10-27 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-62396?
moodle: upgrade to 4.5.7, 5.0.3. Exact commands for each OS are on this page.
Is CVE-2025-62396 being exploited?
CVE-2025-62396 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-62396 affect?
CVE-2025-62396 affects moodle. Severity is medium (CVSS 5.3). An error-handling issue in the Moodle router (r.php) could cause the application to display internal directory listings when specific HTTP headers were not properly configured.
How urgent is CVE-2025-62396?
Priority 29/100. Remotely exploitable, no login, no user action
Software pages
PHP vulnerabilities · Moodle vulnerabilities
Related CVEs
- CVE-2026-102588 MEDIUM 6.5 UPGRADE A flaw was found in Moodle
- CVE-2026-102586 MEDIUM 4.3 UPGRADE A flaw was found in Moodle
- CVE-2026-102581 MEDIUM 4.6 UPGRADE A flaw was found in Moodle
- CVE-2026-102582 LOW 2.2 UPGRADE A flaw was found in Moodle
- CVE-2026-102583 LOW 2.7 UPGRADE A flaw was found in Moodle