This memory exhaustion vulnerability affects four distinct image upload endpoints in Mattermost — profile pictures, channel attachments, team icons, and brand images — and the pattern reveals a structural failure rather than isolated oversights. Go's image decoders allocate memory proportional to an image's declared dimensions before any pixel data is processed; a malformed image with inflated header values can request gigabytes of RAM instantly, crashing the server before any validation completes.

What makes this notable is the blast radius. The 'authenticated user' constraint in the CVE description misleadingly suggests reduced risk. In Mattermost's deployment model, authenticated users are already inside the perimeter — this is an intra-tenant weapon where any tenant member can exhaust server memory for everyone on that instance. One low-privilege user uploading a crafted profile picture can take down service for hundreds or thousands of colleagues. The CVSS 6.5 score badly understates this impact.

The vulnerability class is not new. GitLab, Roundcube, and numerous WordPress plugins have all suffered the same flaw since 2018. The recurrence pattern — across projects with security teams and SDLs — indicates that "decoding untrusted media" is not being treated as a known-dangerous operation class in secure development training. The sedimental propagation problem explains why: each new upload endpoint added over years inherited the same unprotected pattern from existing code, not because developers are ignorant, but because no hardened central utility exists to replace the vulnerable defaults.

What to check in the fix: examine whether Mattermost introduced a centralized image handling library with enforced memory limits, dimension caps, and timeout enforcement — or merely patched each endpoint independently. The former is remediation; the latter is window dressing. If only the four known endpoints were patched, forgotten interfaces like thumbnail generation, compliance exports, and legacy API routes likely retain the same vulnerability. The real test is whether any future media handler added to the codebase inherits secure defaults automatically.