ADVISORIES

GitHub Advisory Database

GHSA-37j2-3vv8-cf24

Mattermost doesn't validate the TIFF IFD offset in the image header before allocating memory

Details

Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.2, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to validate the TIFF IFD offset in the image header before allocating memory, which allows authenticated users with file upload or posting permissions to cause a denial of service (server OOM) via uploading a crafted TIFF file or posting a URL that serves one.. Mattermost Advisory ID: MMSA-2026-00648

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost-server
From 11.6.0 before 11.6.1 (fixed in 11.6.1)
Gogithub.com/mattermost/mattermost-server
From 11.5.0 before 11.5.4 (fixed in 11.5.4)
Gogithub.com/mattermost/mattermost-server
From 11.4.0 before 11.4.5 (fixed in 11.4.5)
Gogithub.com/mattermost/mattermost-server
From 10.11.0 before 10.11.15 (fixed in 10.11.15)

References