{"api_version":"1","generated_at":"2026-11-23T18:36:15+00:00","cve":"CVE-2026-135250","urls":{"html":"https://cve.report/CVE-2026-135250","api":"https://cve.report/api/cve/CVE-2026-135250.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-135250","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-135250"},"summary":{"title":"MISP: Denial of Service via Unbounded Image Decoding in Attachment Thumbnails and Event Graphs","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.","state":"PUBLISHED","assigner":"CIRCL","published_at":"2026-11-23 16:17:44","updated_at":"2026-11-23 16:17:44"},"problem_types":["CWE-400","CWE-770","CWE-400 CWE-400 Uncontrolled Resource Consumption","CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling"],"metrics":[{"version":"4.0","source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","score":"7.1","severity":"HIGH","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","data":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"7.1","severity":"HIGH","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","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9","name":"https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9","refsource":"5a6e4751-2f3f-4070-9419-94fb35b644e8","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-135250","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135250","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"MISP","product":"MISP","version":"affected 2.5.52 semver","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"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.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"ENISA","lang":"en"},{"source":"CNA","value":"iglocska","lang":"en"},{"source":"CNA","value":"Claude Opus 5.5","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["AttachmentTool (attachment thumbnail generation)","EventGraph (event graph preview rendering)"],"product":"MISP","programFiles":["app/Lib/Tools/AttachmentTool.php","app/Model/EventGraph.php"],"repo":"https://github.com/MISP/MISP","vendor":"MISP","versions":[{"lessThan":"2.5.52","status":"affected","version":"0","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*","vulnerable":true}],"negate":false,"operator":"OR"}]}],"credits":[{"lang":"en","type":"reporter","value":"ENISA"},{"lang":"en","type":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"}],"descriptions":[{"lang":"en","value":"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."}],"impacts":[{"capecId":"CAPEC-124","descriptions":[{"lang":"en","value":"CAPEC-124 Resource Exhaustion"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"format":"SSVC","other":{"content":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"Supplier","timestamp":"2026-11-23T09:46:36Z","version":"2.0.3"},"type":"SSVC"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-23T15:43:17.322Z","orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","shortName":"CIRCL"},"references":[{"name":"Security patch","tags":["patch"],"url":"https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9"}],"solutions":[{"lang":"en","value":"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."}],"title":"MISP: Denial of Service via Unbounded Image Decoding in Attachment Thumbnails and Event Graphs","x_gcve":[{"extensions":{"bcp-05-x-01":{"ai_annotations":[{"ai_level":"generated","description":"Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.","gna_source":1,"models":[{"gna_source":1,"identifier":"qwen3.8:27b","name":"qwen3.8:27b","source":"ollama"}],"review_status":"full","scope":"record","tags":["ai-computer-assisted:llm-generated","ai-computer-assisted:classification"]}]},"bcp-05-x-02":{"x_patch2vuln":{"assumptions":["PR:L assumes that uploading attachments or creating event graphs requires an authenticated MISP user with appropriate permissions; the patch does not explicitly state the authentication model, but MISP is a role-based threat-intelligence platform and these are authenticated operations.","VA:H assumes that memory exhaustion from a single oversized image decode can crash the PHP worker process or the host, rendering the MISP instance unavailable. The commit message confirms GD buffers bypass memory_limit, supporting this assumption.","The 50-megapixel threshold is the developer-chosen limit; the exact memory impact of a 20000x20000 image (approximately 1.6 GB for a 32-bit RGBA buffer) is inferred from GD's 4-bytes-per-pixel allocation noted in the patch comment.","CAPEC-124 (Resource Exhaustion) is the closest standard attack pattern; no CAPEC specifically covers 'crafted image header causing out-of-band memory allocation in a library', so this is the best available match.","The affected version range starts at 0 (all prior versions) because the explicit context specifies affected_version as '0' and fixed_version as '2.5.52'; no earlier introduction commit is identified in the patch."],"capecRationale":[{"capecId":"CAPEC-124","rationale":"The attacker supplies a single crafted image whose header declares an extremely large resolution. When the server decodes it, GD allocates a correspondingly large buffer outside PHP's memory_limit, exhausting system memory. This matches the Resource Exhaustion pattern: a single request with a large payload exhausts a finite resource (memory). The mapping is confident because the commit message explicitly references GD buffers bypassing memory_limit and the tests demonstrate a 20000x20000 header triggering the issue."}],"commit":"ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9","confidence":"high","credits":[{"lang":"en","type":"reporter","value":"ENISA"},{"lang":"en","type":"remediation developer","value":"iglocska"},{"lang":"en","type":"remediation developer","value":"Claude Opus 5.5"},{"lang":"en","type":"tool","value":"Claude Opus 5.5"}],"cvssRationale":"AV:N - MISP is a network-accessible web application. AC:L - Crafting a PNG with a large IHDR dimension is trivial and requires no special conditions. AT:N - No prior tampering of system data is needed. PR:L - The user must be authenticated and have permission to upload attachments or create event graphs; unauthenticated users cannot trigger the code path. UI:N - No victim interaction beyond the attacker's own request is required. VC:N, VI:N - No confidentiality or integrity impact is evidenced. VA:H - Memory exhaustion can crash the PHP worker or the host, causing a complete loss of availability for all users of that instance. SC:N, SI:N, SA:N - No secondary component impact is indicated.","fixSummary":"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.","generatedAt":"2026-11-23T09:46:36.747304Z","generator":"patch2vuln.py","model":"qwen3.8:27b","modelComparison":{"potentialErrors":[],"rankings":[{"agreementScore":11,"assumptionCount":5,"confidence":"high","model":"qwen3.8:27b","score":8}],"selectedModel":"qwen3.8:27b","selectionMethod":"deterministic-consensus-v1","selectionNotice":"The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."},"patchSha256":"c89ecb05255524f7c20f1dfda8c93e79c1eab6b008c497ccb53b2463439b78ac","patchSummary":"Added a MAX_IMAGE_PIXELS constant (50,000,000) and a new static method createImageFromString() in AttachmentTool that calls getimagesizefromstring() to read header dimensions and rejects images exceeding the limit before invoking imagecreatefromstring(). The resizeImage() method now calls createImageFromString() instead of imagecreatefromstring() directly. EventGraph::getPictureData() was updated to delegate to AttachmentTool::createImageFromString() via a new protected createImage() wrapper, with an explicit false-check and exception. A new PHPUnit test file (AttachmentToolImageSizeTest.php) verifies that oversized headers are rejected without triggering a decode, zero-dimension images are rejected, and small valid images still process correctly in both code paths.","patchTruncated":false,"patches":[{"commit":"ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9","date":"Tue, 17 Nov 2026 00:23:09 +0100","patchSha256":"c89ecb05255524f7c20f1dfda8c93e79c1eab6b008c497ccb53b2463439b78ac","retrievedAt":"2026-11-23T09:46:08.475752Z","source":"https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9","sourceUrl":"https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9","subject":"fix: [security] Images are decoded only when their header"}],"source":"https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9","ssvc":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"Supplier","timestamp":"2026-11-23T09:46:36Z","version":"2.0.3"},"subject":"fix: [security] Images are decoded only when their header","weaknessRationale":[{"cweId":"CWE-400","rationale":"The application processes a user-supplied image without bounding the memory that the GD decode step will allocate. The declared pixel dimensions in the image header are attacker-controlled and are not validated before the decode, allowing an attacker to trigger unbounded memory allocation. This is a classic uncontrolled resource consumption (memory) issue."},{"cweId":"CWE-770","rationale":"The GD library allocates a pixel buffer proportional to the declared image dimensions without any application-level limit. The patch adds a 50-megapixel cap, confirming that no prior limit existed. This is a specific instance of allocating resources without limits."}]}},"bcp-05-x-03":{"x_timeline":{"events":[{"description":"Corrective change authored (ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9): fix: [security] Images are decoded only when their header","id":"evt-fix-developed-1","references":["https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9"],"timestamp":"2026-11-16T23:23:09Z","type":"fix-developed"},{"description":"Patch retrieved from the supplied URL; retrieval time is used as the default availability time.","id":"evt-fix-available-1","references":["https://github.com/MISP/MISP/commit/ec1cb6e0bb6b8a910020bc22b881560e3eecb8a9"],"timestamp":"2026-11-23T09:46:08.475752Z","type":"fix-available"}]}}},"recordType":"advisory","vulnId":"GCVE-1-2026-20443"}]}},"cveMetadata":{"assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","assignerShortName":"CIRCL","cveId":"CVE-2026-135250","datePublished":"2026-11-23T15:43:17.322Z","dateReserved":"2026-11-23T15:43:07.677Z","dateUpdated":"2026-11-23T15:43:17.322Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-23 16:17:44","lastModifiedDate":"2026-11-23 16:17:44","problem_types":["CWE-400","CWE-770","CWE-400 CWE-400 Uncontrolled Resource Consumption","CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling"],"metrics":{"cvssMetricV40":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","ssvcData":{"timestamp":"2026-11-23T09:46:36Z","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"Supplier","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"135250","Ordinal":"1","Title":"MISP: Denial of Service via Unbounded Image Decoding in Attachme","CVE":"CVE-2026-135250","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"135250","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"MISP: Denial of Service via Unbounded Image Decoding in Attachme"}]}}}