moodle/moodle
Functions and files changed by CVE fixes in this repository.
Latest located fix
Overview
259 published CVEs have a fix traced to functions in moodle/moodle, the earliest published in 2010. Those fixes changed 593 distinct functions across 496 files, in 2,354 patch hunks.
Among the 11,837 repositories tracked here, moodle/moodle ranks #6 by the number of CVEs with a located fix.
Most patched functions
Functions in moodle/moodle changed by the most distinct patches.
- 1forum_print_discussion_headermod/forum/lib.php12 patches · 2 CVEs2014 to 2017
- 2display_instances_listrepository/lib.php8 patches · 1 CVE2014
- 3setTypeslib/formslib.php8 patches · 1 CVE2013
- 4blog_comment_validateblog/lib.php6 patches · 1 CVE2013
- 5require_loginlib/moodlelib.php5 patches · 2 CVEs2015 to 2019
- 6forum_print_latest_discussionsmod/forum/lib.php5 patches · 1 CVE2017
- 7choice_get_availability_statusmod/choice/lib.php5 patches · 1 CVE2016
- 8get_exception_infolib/setuplib.php4 patches · 3 CVEs2012 to 2015
- 9get_calendar_eventscalendar/externallib.php4 patches · 2 CVEs2015 to 2016
- 10clean_paramlib/moodlelib.php4 patches · 2 CVEs2012 to 2016
- 11get_qrlogin_keyadmin/tool/mobile/classes/api.php4 patches · 1 CVE2024
- 12view_fix_rescaled_null_gradesmod/assign/locallib.php4 patches · 1 CVE2024
- 13data_print_preference_formmod/data/lib.php4 patches · 1 CVE2016
- 14purify_htmllib/weblib.php4 patches · 1 CVE2016
- 15random_stringlib/moodlelib.php4 patches · 1 CVE2016
Most patched files
Files in moodle/moodle changed by the most CVE fixes.
- 1mod/forum/lib.php6 CVEs · 13 functions
- 2lib/moodlelib.php6 CVEs · 5 functions
- 3message/externallib.php4 CVEs · 12 functions
- 4enrol/locallib.php4 CVEs · 5 functions
- 5mod/lesson/locallib.php4 CVEs · 5 functions
- 6lib/weblib.php4 CVEs · 4 functions
- 7backup/moodle2/restore_stepslib.php4 CVEs · 3 functions
- 8repository/lib.php3 CVEs · 13 functions
- 9repository/equella/lib.php3 CVEs · 8 functions
- 10enrol/externallib.php3 CVEs · 6 functions
Fix size
How much code a CVE fix in moodle/moodle changes, with backports counted once.
Latest CVEs
The most recently published CVEs with a fix located in moodle/moodle, and the functions each fix changed.
- High · CVSS 7.5EPSS 0.6%2026-11-06
- Medium · CVSS 6.5EPSS 0.5%2026-02-21
- High · CVSS 7.2EPSS 0.6%2026-02-21
- Medium · CVSS 5.3EPSS 0.4%2026-02-03
- Critical · CVSS 9.8EPSS 0.3%2026-02-03
- CVE-2025-67855preg_matchMedium · CVSS 6.1EPSS 0.4%2026-02-03
- CVE-2025-67852Medium · CVSS 6.1EPSS 0.3%2026-02-03
- High · CVSS 7.8EPSS 0.3%2026-02-03
- High · CVSS 7.3EPSS 0.3%2026-02-03
- High · CVSS 7.3EPSS 0.3%2026-02-03
- High · CVSS 8.1EPSS 0.4%2026-02-03
- Medium · CVSS 5.4EPSS 0.2%2025-10-23
Get an alert for each new moodle/moodle CVE, with the patched functions and AI-written analysis.
Monitor these CVEsOther repositories
Repositories with a similar number of located CVE fixes.
Frequently asked questions
Common questions about CVE fixes in moodle/moodle.
- How many CVEs have a located fix in moodle/moodle?
- 259 published CVEs have a fix traced to functions in moodle/moodle, touching 593 functions across 496 files.
- Which function in moodle/moodle has been patched most often?
- forum_print_discussion_header in mod/forum/lib.php has been changed by 12 distinct patches, fixing 2 CVEs, from 2014 to 2017.
- How large is a typical CVE fix in moodle/moodle?
- The median fix changes 20 lines. 51% of fixes change 20 lines or fewer, and 36% change a single function.
- How is a fix located to a function?
- The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.
References
- moodle/moodle on GitHub (opens in a new tab)
- Patched functions directory
- CWE directory: the weakness types behind these fixes
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track moodle/moodle CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.