Description
The get_dataroot_image_path function in lib/file.php in Mahara before 1.4.1 does not properly validate uploaded image files, which allows remote attackers to cause a denial of service (memory consumption) via a (1) large or (2) invalid image.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | mahara | 1.2.6-2+squeeze3 | DSA-2334-1 |
| Debian 5.0 | mahara | 1.0.4-4+lenny11 | DSA-2334-1 |
Advisories 1
- DSA-2334-1 mahara - several Debian Security (DSA / DLA) · Mar 9, 2026