{
  "id": "CVE-2026-135250",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-135250",
  "published_at": "2026-11-23T15:43:17.322Z",
  "title": "MISP: Denial of Service via Unbounded Image Decoding in Attachment Thumbnails and Event Graphs",
  "vendor": "MISP",
  "product": "MISP",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-11-24T17:29:25Z",
    "first_seen_at": "2026-11-24T18:05:19.501Z",
    "days_after_publication": 1.1,
    "repo": "googlesky/CVE-2026-135250",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.\n\nBecause 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.\n\nPreconditions:\n- An authenticated MISP user with permission to upload attachments or to create/view event graphs.\n- The ability to supply a crafted image file (e.g., a PNG with a valid header declaring oversized dimensions).\n\nImpact:\n- Denial of service: memory exhaustion leading to process crash or host unavailability.\n- No confidentiality or integrity impact is indicated by the evidence.\n\nAffected versions: MISP prior to 2.5.52.",
  "cwe": "CWE-400",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [
    {
      "repo": "googlesky/CVE-2026-135250",
      "url": "https://github.com/googlesky/CVE-2026-135250",
      "created_at": "2026-11-24T17:29:25Z",
      "first_seen_at": "2026-11-24T18:05:19.501Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-04-08T15:16:09Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "MISP",
        "product": "MISP",
        "ranges": [
          "\u003c 2.5.52"
        ],
        "fixed_in": [
          "2.5.52"
        ]
      }
    ],
    "solutions": [
      "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."
    ],
    "upgrade": [
      "Upgrade MISP to 2.5.52 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
