CVE-2026-135250

MISP: Denial of Service via Unbounded Image Decoding in Attachment Thumbnails and Event Graphs

Published Nov 23, 2026 CVSS 4.0 · 7.1 High EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

MISP’s image processing routine decodes user‑supplied images using the GD library without verifying the pixel dimensions stated in the image header. When an image declares an overwhelmingly large resolution—for instance, 20 000 × 20 000 pixels—GD allocates a pixel buffer that far exceeds PHP’s memory_limit setting, causing a costly allocation of several gigabytes of memory. The resulting exhaustion can crash the PHP worker process or bring the web host offline, providing only a denial‑of‑service effect and no breach of confidentiality or integrity.

Affected Systems

All MISP installations running a version older than 2.5.52 are vulnerable. The issue manifests in the attachment thumbnail generation and the event graph rendering features for authenticated users with permission to upload files or create event graphs.

Risk and Exploitability

The vulnerability scores a CVSS base of 7.1. EPSS information is not disclosed, and the flaw is not listed in the CISA KEV catalog. The attack requires an authenticated user capable of uploading attachments or producing event graphs, meaning privilege escalation or exploitation of internal accounts is necessary. An attacker can deploy a crafted image to exhaust system memory, leading to application or host downtime. No remote code execution or data compromise is possible from this flaw alone.

Remediation

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.


OpenCVE Recommended Actions

  • Upgrade MISP to version 2.5.52 or later, which implements a dimension guard before any GD decode operation.
  • If a patch or upgrade cannot be applied immediately, restrict the ability to upload attachments or generate event graphs for untrusted users and disable image preview features until the fix is in place.
  • Add a WAF or reverse proxy rule to reject images whose declared width or height exceed a safe bound (e.g., 5000×5000 pixels) to mitigate resource exhaustion.

Generated by OpenCVE AI on November 23, 2026 at 18:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
CIRCL
Published
Updated
Nov 23, 2026, 3:43 PM
Reserved
Nov 23, 2026, 3:43 PM
Status
Deferred
Published
Nov 23, 2026, 4:17 PM
Modified
Nov 23, 2026, 4:17 PM