# CVE-2026-135250: MISP: Denial of Service via Unbounded Image Decoding in Attachment Thumbnails and Event Graphs

> Authenticated MISP users can upload images with huge declared dimensions to exhaust memory and crash the server.

- **Severity:** High 7.1 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** No
- **Fix available:** Yes
- **Published:** 23 Nov 2026
- **Updated:** 24 Nov 2026
- **Also known as:** GHSA-7q2h-7h4h-mp4w

## What is CVE-2026-135250?

CVE-2026-135250 is a high-severity denial of service vulnerability in MISP, published on 23 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official 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.

Weakness: CWE-770 (Allocation of Resources Without Limits or Throttling), CWE-400 (Uncontrolled Resource Consumption)

## Which versions are affected by CVE-2026-135250?

It affects 1 product.

An affected version is exposed as installed. No special setting or call is needed.


Products: Misp.

CPE match criteria (CPE 2.3):

- `cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*` before 2.5.52

## How do I fix CVE-2026-135250?

Upgrade MISP to 2.5.52 or later. The advisory says that version fixes it.

## Is CVE-2026-135250 being exploited?

There is no known exploitation of CVE-2026-135250 in the wild and no public exploit code.

Public exploit code:

- MISP <2.5.52: images decoded without dimension check — GD buffers bypass memory_limit, 400M-pixel image exhausts memory. Verbatim guard from ec1cb6e^ vs fix: decoded on vuln, rejected on fixed (github_poc): https://github.com/googlesky/CVE-2026-135250

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-135250 and fix it if it is affected.

What it is: CVE-2026-135250 is a high-severity denial of service vulnerability in MISP, published on 23 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-135250 in the wild and no public exploit code.
Exposure: An affected version is exposed as installed. No special setting or call is needed.

Affected product: MISP. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-135250/ (Markdown: https://insights.sbomify.com/CVE-2026-135250/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-135250
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-135250
- OSV: https://osv.dev/vulnerability/CVE-2026-135250

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-135250/
Summaries are generated and may contain mistakes; the official description above is the record.
