MISP: Denial of Service via Unbounded Image Decoding in Attachment Thumbnails and Event Graphs
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MISP | MISP | affected |
|
No data.
No data.
No data available yet.
Vendor Solution
The fix introduces a dimension guard before any GD decode operation. The image header is parsed first to extract the declared width and height; if the product of the two exceeds a 50-megapixel threshold (or is zero/negative), the decode is skipped and an error is returned. This prevents GD from allocating its out-of-memory_limit pixel buffer for oversized images. The guard is applied in both the attachment thumbnail resize path and the event graph picture rendering path.
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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 memory_limit 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. | |
| Title | MISP: Denial of Service via Unbounded Image Decoding in Attachment Thumbnails and Event Graphs | |
| First Time appeared |
Misp
Misp misp |
|
| Weaknesses | CWE-400 CWE-770 |
|
| CPEs | cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Misp
Misp misp |
|
| References |
| |
| Metrics |
cvssV4_0
|