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

Status: published. Published: 2026-11-23. Updated: 2026-11-23.

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.

## Remediation

- fix: 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. (source: CNA: CIRCL)
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: CIRCL) — https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9

## Affected products and versions

- MISP / MISP: ≥ 0; < 2.5.52 (affected, semver). Source: CNA: CIRCL

## Severity and prioritization

- CVSS 4.0: 7.1 (high); 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; source: CNA: CIRCL

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: exploitation none; automatable yes; technical impact total; source CNA: CIRCL

- Weaknesses: CWE-400, CWE-770

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9 (CNA: CIRCL; patch)

## Provenance

- CNA: CIRCL: https://www.cve.org/CVERecord?id=CVE-2026-135250; retrieved 2026-11-23; source updated 2026-11-23

Revision: 5c2ba957b29d3e5186eb8d9151a5e4ec4b491f0a0202803030e25b7b8b806125

Canonical: https://y2.dev/cve/CVE-2026-135250

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.