CVE Professor
/
All CVEs
CVE-2026-135250

CVE-2026-135250 — MISP — CWE-400 · CWE-770

HIGH CVSS 7.1 Shodan

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.

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.

CVSS v4.0 Vector Metrics
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
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. Low PR:L
User Interaction None UI:N
Vuln. Conf. None VC:N
Vuln. Integrity None VI:N
Vuln. Avail. High VA:H
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
Scope X S:X
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Technical flaw
MISP (Malware Information Sharing Platform) versions ≤ 2.5.51 use PHP’s GD library to generate thumbnails for uploaded attachments and to render event‑graph preview images. The GD functions (imagecreatefrompng, imagecreatefromjpeg, etc.) allocate pixel buffers outside PHP’s memory_limit boundary. The code that calls GD does not validate the pixel dimensions declared in the image header before decoding.

When an attacker supplies an image whose header declares an extremely large resolution (e.g., 20 000 × 20 000 px), GD attempts to allocate a buffer of roughly
20 000 × 20 000 × 4 bytes ≈ 1.6 GB (for RGBA).
Because this allocation bypasses PHP’s memory limits, the process can consume all available RAM, triggering a kernel OOM killer or causing the PHP worker to crash. The result is a Denial‑of‑Service (DoS) that affects the entire web application or the host.

CWE mapping

  • CWE‑400 – Uncontrolled Resource Consumption

  • CWE‑770 – Allocation of Unbounded Resources
  • Authentication / Authorization
    The vulnerability is only exploitable by an authenticated user who has permission to upload attachments or to create/view event graphs. No unauthenticated or privilege‑escalation step is required.

    CVSS 4.0

  • Attack Vector: Network (AV:N)

  • Attack Complexity: Low (AC:L) – no special conditions

  • Privileges Required: Low (PR:L) – any authenticated user with upload rights

  • User Interaction: None (UI:N)

  • Impact: High Availability (VA:H) – no confidentiality or integrity impact

  • ⚡ Attack Chain

    1. Discovery & Reconnaissance

    StepTechniqueWhat to look for
    Identify MISPHTTP banner, /api/v1/info, or / pageMISP v2.5.51 in the response
    Version checkGET /api/v1/info (requires API key)JSON field "version": "2.5.51"
    Permission checkTry to upload a small image via /attributes/add (or the UI)Successful upload → user has upload rights
    Note: The exact upload endpoint (/attributes/add, /api/v1/attributes, or the UI form) is not specified in the CVE. The following PoC uses the most common REST endpoint /attributes/add for illustration.

    2. Exploitation

    Goal: Trigger GD to allocate >1 GB memory by uploading a crafted image.

    Crafting the image

    A minimal PNG that declares 20 000 × 20 000 pixels but contains no pixel data (the decoder will still allocate the buffer).
    89 50 4E 47 0D 0A 1A 0A   # PNG signature
    00 00 00 0D 49 48 44 52   # IHDR chunk header
    00 00 4E 20 00 00 4E 20   # width=20000, height=20000 (big‑endian)
    08 06 00 00 00            # bit depth=8, color=RGBA, compression=deflate, filter=none, interlace=none
    ...

    The full binary can be generated with a small script or by editing a PNG header in a hex editor.
    Base64‑encoded payload (truncated for brevity):

    iVBORw0KGgoAAAANSUhEUgAA...

    PoC (illustrative)

    # Assume API key is stored in $API_KEY
    # The endpoint /attributes/add accepts multipart/form-data
    curl -k \
      -H "Authorization: ${API_KEY}" \
      -F "type=attachment" \
      -F "value=@/tmp/huge.png" \
      -F "category=Other" \
      -F "comment=DoS test" \
      https://misp.example.com/attributes/add
    What happens:
    1. MISP receives the multipart request.
    2. The attachment handler passes the file to GD (imagecreatefrompng).
    3. GD reads the header, sees 20 000 × 20 000, and allocates ~1.6 GB.
    4. The PHP worker runs out of RAM → OOM → process crash or host becomes unresponsive.

    3. Post‑exploitation

    The impact is purely Availability.
  • The PHP worker process terminates, causing the web UI and API to become inaccessible until the process is restarted.
  • If the host runs only a single PHP worker or lacks proper process supervision, the entire web server may become unresponsive.
  • No code execution, data exfiltration, or privilege escalation is possible from this vector alone.

  • 🌍 Real World Impact

    ImpactCVSS 4.0 IndicatorPractical consequence
    AvailabilityVA:HService outage for all users; potential downtime for the entire MISP instance.
    ConfidentialityVC:NNo data leakage.
    IntegrityVI:NNo data tampering.
    Privilege EscalationPR:LOnly requires normal upload rights.
    User InteractionUI:NNo UI needed; automated upload suffices.

    Operational risk

  • In environments where MISP is the sole source of threat intelligence, a DoS can halt incident response workflows.

  • In multi‑tenant deployments, a single compromised user can bring down the entire platform.

  • If the host runs other critical services (e.g., web server, database) on the same machine, the memory exhaustion can affect those services as well.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    AffectedFixed in
    MISP 2.5.51 and earlier2.5.52 (or later)

    Action:

  • Download the latest release from the official MISP repository:

  • git checkout v2.5.52 or apt-get install misp (if using a package manager).
  • Verify the version via /api/v1/info.
  • 2. Workarounds (if upgrade is not immediately possible)

    MitigationHow to implement
    Restrict upload permissionsRemove upload capability from untrusted roles ($user->setCapability('upload', false)).
    Validate image dimensions server‑sideAdd a pre‑processing step: read the PNG/JPEG header, check width × height against a safe threshold (e.g., 5 000 × 5 000). Reject if exceeded.
    Use a separate image‑processing workerOffload thumbnail generation to a dedicated service (e.g., ImageMagick, Pillow) that can enforce memory limits.
    Set PHP memory_limit lowerWhile GD bypasses this, it still helps mitigate other memory‑heavy operations.

    | Deploy a WAF rule | Example ModSecurity rule to block large image dimensions:

    SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
          "phase:2,chain,block,msg:'Large image upload blocked'"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"
          SecRule REQUEST_HEADERS:Content-Type "image/(png|jpeg)" \
              "chain,chain,log"

    (The rule above is a simplified illustration; a production rule should parse the PNG/JPEG header to extract the width/height and compare against a threshold.)

    3. Detection

    IndicatorLog sourceSample pattern
    PHP fatal error – memory exhaustionPHP error log (/var/log/php-fpm/www-error.log)Allowed memory size of \d+ bytes exhausted
    GD error – image too largePHP error logGD error: image too large
    Repeated large uploadsApache/Nginx access logPOST /attributes/add with Content-Type: image/png and Content-Length: > 10MB
    OOM killer messages/var/log/syslog or /var/log/kern.logOut of memory: Kill process

    Automated detection

  • Monitor PHP error logs for the “Allowed memory size” pattern.

  • Use a log‑aggregation tool (ELK, Splunk) to alert on repeated large image uploads from the same IP or user.

  • ⚠️ Urgency

    CriterionAssessment
    CVSS score7.1 (High)
    Exploit complexityLow – no special conditions, only authenticated upload rights
    ImpactAvailability only, but can bring down the entire MISP instance
    CISA KEVNo (not a known exploit kit)
    Patch availabilityFixed in 2.5.52 (released 23‑11‑2026)

    Recommendation:

  • Immediate patching of all affected MISP installations to 2.5.52 or later.

  • If patching cannot occur within 24 h, apply the workarounds above (restrict upload rights, validate dimensions, deploy WAF rule).

  • Continuously monitor logs for memory‑exhaustion patterns and block offending IPs.


By addressing this flaw promptly, you eliminate the possibility of a memory‑based DoS that could cripple threat‑intelligence workflows and compromise the availability of critical security operations.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

header="X-Powered-By" && header="PHP"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-135250
CVSS Score
7.1 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-400 CWE-770
Affected Products (1)
MISP:MISP
References & Advisories (1)
Related CVEs
4.7
CVE-2026-144581
validator.js 13.15.22 through 13.15.35 contains a protocols allowlist bypass in isURL() that misparses javascr
0.0
CVE-2026-142879
In the Linux kernel, the following vulnerability has been resolved: mm/migrate: snapshot the source nid befor
8.7
CVE-2026-144572
@libp2p/kad-dht through 16.4.11 contains a record validation bypass in verifyRecord that allows unauthenticate
8.7
CVE-2026-137408
In Eclipse Yasson versions 1.0 through 1.0.11, 2.0 through 2.0.4, and 3.0 through 3.0.6, the deserializers for
8.7
CVE-2026-145021
Zebra before 7.1.0 contains an uncontrolled resource consumption vulnerability that allows unauthenticated cli
8.7
CVE-2026-145034
Zebra before 7.1.0 contains a denial of service vulnerability that allows a single malicious P2P peer to halt
8.7
CVE-2026-144815
A flaw has been found in EZVIZ CS-C2C and CS-C6c 5.3. This impacts an unknown function of the component RTSP S