{"affected":[{"product":"MISP","source":"CNA: CIRCL","vendor":"MISP","versions":[{"lessThan":"2.5.52","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-135250","cwes":["CWE-400","CWE-770"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":7.1,"severity":"high","source":"CNA: CIRCL","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","version":"4.0"}],"modifiedAt":1795448597322,"publishedAt":1795448597322,"references":[{"source":"CNA: CIRCL","tags":["patch"],"url":"https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9"}],"remediation":[{"kind":"fix","source":"CNA: CIRCL","text":"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."},{"kind":"fix","source":"CNA: CIRCL","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9"}],"revision":"5c2ba957b29d3e5186eb8d9151a5e4ec4b491f0a0202803030e25b7b8b806125","sources":[{"modifiedAt":1795448597322,"name":"CNA: CIRCL","retrievedAt":1795450282746,"url":"https://www.cve.org/CVERecord?id=CVE-2026-135250"}],"ssvc":{"assessedAt":1795427196000,"automatable":"yes","exploitation":"none","source":"CNA: CIRCL","technicalImpact":"total"},"status":"published","title":"MISP: Denial of Service via Unbounded Image Decoding in Attachment Thumbnails and Event Graphs","updatedAt":1795450282746}