CVE-2026-135250: MISP: Denial of Service via Unbounded Image Decoding in Attachment Thumbnails and Event Graphs
MISP contains a denial-of-service vulnerability in its image processing pipeline. When generating attachment thumbnails or rendering event graph preview images, the application decodes user-supplied image data using the GD library without first validating the declared pixel dimensions in the image header.
Because GD allocates its pixel buffers outside the scope of PHP's memorylimit directive, a crafted image with an extremely large declared resolution (for example, 20000 x 20000 pixels) can trigger a multi-gigabyte memory allocation during the decode step, exhausting available system memory and causing the PHP worker process or the host to become unresponsive.
Preconditions: - An authenticated MISP user with permission to upload attachments or to create/view event graphs. - The ability to supply a crafted image file (e.g., a PNG with a valid header declaring oversized dimensions).
Impact: - Denial of service: memory exhaustion leading to process crash or host unavailability. - No confidentiality or integrity impact is indicated by the evidence.
Affected versions: MISP prior to 2.5.52.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
MISPto a version that resolves this vulnerability.Fixed in 2.5.52