Common Weakness Enumeration

CWE-407

Weakness Allowed-with-Review

Inefficient Algorithmic Complexity

Abstraction: Class · Status: Incomplete

An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.

Mapping guidance

This CWE entry is a Class and might have Base-level children that would be more appropriate

Examine children of this entry to see if there is a better fit

Relationships and members
ChildOf: CWE-405 · View CWE-1000
Modes of introduction
Architecture and Design
Implementation
Detection methods

Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Effectiveness: High

Content history
Submission: PLOVER · 2006-07-19 · CWE Draft 3
Modification: Eric Dalci · Cigital · 2008-07-01 · CWE 1.0

updated Time_of_Introduction

Modification: CWE Content Team · MITRE · 2008-09-08 · CWE 1.0

updated Common_Consequences, Relationships, Other_Notes, Taxonomy_Mappings

Modification: CWE Content Team · MITRE · 2009-07-27 · CWE 1.5

updated Functional_Areas, Other_Notes

Modification: CWE Content Team · MITRE · 2009-10-29 · CWE 1.6

updated Common_Consequences

Modification: CWE Content Team · MITRE · 2009-12-28 · CWE 1.7

updated Applicable_Platforms, Likelihood_of_Exploit

Modification: CWE Content Team · MITRE · 2011-06-01 · CWE 1.13

updated Common_Consequences

Modification: CWE Content Team · MITRE · 2012-05-11 · CWE 2.2

updated Observed_Examples, Relationships

Modification: CWE Content Team · MITRE · 2014-07-30 · CWE 2.8

updated Relationships

Modification: CWE Content Team · MITRE · 2015-12-07 · CWE 2.9

updated Relationships

Modification: CWE Content Team · MITRE · 2017-11-08 · CWE 3.0

updated Likelihood_of_Exploit

Modification: CWE Content Team · MITRE · 2019-06-20 · CWE 3.3

updated Name, Relationships, Type

Modification: CWE Content Team · MITRE · 2020-02-24 · CWE 4.0

updated Relationships

Modification: CWE Content Team · MITRE · 2020-08-20 · CWE 4.2

updated Relationships

Modification: CWE Content Team · MITRE · 2021-03-15 · CWE 4.4

updated References, Relationships

Modification: CWE Content Team · MITRE · 2021-07-20 · CWE 4.5

updated References

Modification: CWE Content Team · MITRE · 2022-10-13 · CWE 4.9

updated Alternate_Terms, Observed_Examples, Relationships

Modification: CWE Content Team · MITRE · 2023-01-31 · CWE 4.10

updated Demonstrative_Examples, Observed_Examples, References

Modification: CWE Content Team · MITRE · 2023-04-27 · CWE 4.11

updated Relationships

Modification: CWE Content Team · MITRE · 2023-06-29 · CWE 4.12

updated Mapping_Notes

Modification: CWE Content Team · MITRE · 2025-12-11 · CWE 4.19

updated Weakness_Ordinalities

Modification: CWE Content Team · MITRE · 2026-10-28 · CWE 5.0

updated Detection_Factors, References

704 vulnerabilities reference this CWE, most recent first.

CVE-2026-135804 (GCVE-0-2026-135804)

Vulnerability from cvelistv5 – Published: 2026-11-24 08:55 – Updated: 2026-11-25 16:58
VLAI
Title
Incomplete Fix for CVE-2026-45756: JsonPath Queries Can Still Hold a Process Through search(), match() and Chained Filters
Summary
The fix for CVE-2026-45756 lowers pcre.backtrack_limit to 10000 around each preg_match() call of the match() and search() filter functions. That limit applies to one starting position, not to one call. PCRE resets its counter at every position it tries a match from. So an unanchored pattern that stays just under the limit is paid once per byte of the subject. Each call also starts from a fresh limit, so chaining clauses in one filter multiplies the work. Two other paths made the cost of a query grow faster than its size, without any regular expression: - The filter evaluator scanned the whole expression for logical operators once per node. Its cost grew with the square of the number of chained clauses. - Queries starting with $ inside a filter, like @.x == $.limit or length($.items), were evaluated again for every node the filter visits. An application that evaluates an attacker-influenced JSONPath expression can therefore still be made to hold a PHP worker. A document of 2 MB and a query of 2.5 KB take 3.5 minutes of CPU. JsonCrawler::find() now bounds the total regex work of one call, and throws an exception when that budget is exhausted. Filter expressions are parsed once per query, and absolute queries inside filters are evaluated once per query.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-25 16:58 UTC
CWE
  • CWE-400 - Uncontrolled Resource Consumption
  • CWE-407 - Inefficient Algorithmic Complexity
  • CWE-1333 - Inefficient Regular Expression Complexity
Assigner
Symfony CNA
CNA scorecard B 83/100 over 46 records in the last 180 days details
Impacted products
Vendor Product Version
Symfony symfony/json-path Affected: 7.3.0 , < 7.4.23 (semver)
Affected: 8.0.0 , < 8.1.11 (semver)
Create a notification for this product.
Symfony symfony/symfony Affected: 7.3.0 , < 7.4.23 (semver)
Affected: 8.0.0 , < 8.1.11 (semver)
Create a notification for this product.
Date Public
2026-11-04 11:43
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2026-135804",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-25T16:58:28.438568Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-25T16:58:52.419Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/json-path",
          "product": "symfony/json-path",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "7.4.23",
              "status": "affected",
              "version": "7.3.0",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.11",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/symfony",
          "product": "symfony/symfony",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "7.4.23",
              "status": "affected",
              "version": "7.3.0",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.11",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "Kamil Vavra"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Nicolas Grekas"
        }
      ],
      "datePublic": "2026-11-04T11:43:33.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/markdown",
              "value": "The fix for CVE-2026-45756 lowers `pcre.backtrack_limit` to 10000 around each `preg_match()` call of the `match()` and `search()` filter functions. That limit applies to one starting position, not to one call. PCRE resets its counter at every position it tries a match from. So an unanchored pattern that stays just under the limit is paid once per byte of the subject. Each call also starts from a fresh limit, so chaining clauses in one filter multiplies the work.\n\nTwo other paths made the cost of a query grow faster than its size, without any regular expression:\n\n- The filter evaluator scanned the whole expression for logical operators once per node. Its cost grew with the square of the number of chained clauses.\n- Queries starting with `$` inside a filter, like `@.x == $.limit` or `length($.items)`, were evaluated again for every node the filter visits.\n\nAn application that evaluates an attacker-influenced JSONPath expression can therefore still be made to hold a PHP worker. A document of 2 MB and a query of 2.5 KB take 3.5 minutes of CPU.\n\n`JsonCrawler::find()` now bounds the total regex work of one call, and throws an exception when that budget is exhausted. Filter expressions are parsed once per query, and absolute queries inside filters are evaluated once per query."
            }
          ],
          "value": "The fix for CVE-2026-45756 lowers pcre.backtrack_limit to 10000 around each preg_match() call of the match() and search() filter functions. That limit applies to one starting position, not to one call. PCRE resets its counter at every position it tries a match from. So an unanchored pattern that stays just under the limit is paid once per byte of the subject. Each call also starts from a fresh limit, so chaining clauses in one filter multiplies the work.\n\nTwo other paths made the cost of a query grow faster than its size, without any regular expression:\n- The filter evaluator scanned the whole expression for logical operators once per node. Its cost grew with the square of the number of chained clauses.\n- Queries starting with $ inside a filter, like @.x == $.limit or length($.items), were evaluated again for every node the filter visits.\n\nAn application that evaluates an attacker-influenced JSONPath expression can therefore still be made to hold a PHP worker. A document of 2 MB and a query of 2.5 KB take 3.5 minutes of CPU.\n\nJsonCrawler::find() now bounds the total regex work of one call, and throws an exception when that budget is exhausted. Filter expressions are parsed once per query, and absolute queries inside filters are evaluated once per query."
        }
      ],
      "metrics": [
        {
          "other": {
            "content": {
              "text": "medium"
            },
            "type": "Textual description of severity"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-400",
              "description": "CWE-400 Uncontrolled Resource Consumption",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-407",
              "description": "CWE-407 Inefficient Algorithmic Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-1333",
              "description": "CWE-1333 Inefficient Regular Expression Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-24T08:55:17.841Z",
        "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "shortName": "Symfony"
      },
      "references": [
        {
          "name": "CVE-2026-135804",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://symfony.com/cve-2026-135804"
        },
        {
          "name": "GHSA-cpww-5vpx-72x7",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://github.com/symfony/symfony/security/advisories/GHSA-cpww-5vpx-72x7"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/symfony/symfony/commit/11650dc31f03badb5d24199a1023539ae6380ff2"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/symfony/symfony/commit/df0d7dc6b1fd7a671be3a6519a82047bb2ab6b47"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/symfony/symfony/commit/45e44c5e228c131185e334c7ba390d51ea4517f8"
        }
      ],
      "source": {
        "advisory": "GHSA-cpww-5vpx-72x7",
        "discovery": "UNKNOWN"
      },
      "title": "Incomplete Fix for CVE-2026-45756: JsonPath Queries Can Still Hold a Process Through search(), match() and Chained Filters",
      "x_generator": {
        "engine": "symfony/ghsa-to-cve"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
    "assignerShortName": "Symfony",
    "cveId": "CVE-2026-135804",
    "datePublished": "2026-11-24T08:55:17.841Z",
    "dateReserved": "2026-11-24T08:54:00.511Z",
    "dateUpdated": "2026-11-25T16:58:52.419Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-135775 (GCVE-0-2026-135775)

Vulnerability from cvelistv5 – Published: 2026-11-30 18:45 – Updated: 2026-11-30 18:59
VLAI
Title
Quadratic CPU consumption in mdex auto-close trimming of trailing parentheses after bare URLs
Summary
Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls rendered Markdown to cause a denial of service via a bare URL followed by many closing parentheses. When auto-close is active, MDEx.FragmentParser.autolink_size/2 in lib/mdex/fragment_parser.ex trims trailing ) from a bare URL one byte at a time and recounts every ( and ) in the remaining URL at each step, so a URL followed by N parentheses costs O(N²) work. Around 20 KB of input pins a scheduler for tens of seconds, and MDEx.stream/2 repeats the completion over the whole accumulated source for every chunk. No extension needs to be enabled. Rendering with auto-close disabled is not affected. This issue affects mdex: from 0.14.2 before 0.15.0.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-30 18:59 UTC
CWE
  • CWE-407 - Inefficient Algorithmic Complexity
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 385 records in the last 180 days details
Impacted products
Vendor Product Version
leandrocp mdex Affected: 0.14.2 , < 0.15.0 (semver)
    cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
Create a notification for this product.
leandrocp mdex Affected: bea359152bc1f63f3256ee86ca207151b815940d , < 2c29b28cd0473c24347aa00b95d16f9ce5f9d9af (git)
    cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-30 18:45
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-135775",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-30T18:59:42.936491Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-30T18:59:54.741Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.MDEx.FragmentParser\u0027",
            "\u0027Elixir.MDEx\u0027"
          ],
          "packageName": "mdex",
          "packageURL": "pkg:hex/mdex",
          "product": "mdex",
          "programFiles": [
            "lib/mdex/fragment_parser.ex",
            "lib/mdex.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:autolink_size/2"
            },
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:autolink_text/1"
            },
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:complete/2"
            },
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:complete_with_state/3"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:stream/2"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:to_html/2"
            }
          ],
          "repo": "https://github.com/leandrocp/mdex",
          "vendor": "leandrocp",
          "versions": [
            {
              "lessThan": "0.15.0",
              "status": "affected",
              "version": "0.14.2",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.MDEx.FragmentParser\u0027",
            "\u0027Elixir.MDEx\u0027"
          ],
          "packageName": "leandrocp/mdex",
          "packageURL": "pkg:github/leandrocp/mdex",
          "product": "mdex",
          "programFiles": [
            "lib/mdex/fragment_parser.ex",
            "lib/mdex.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:autolink_size/2"
            },
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:autolink_text/1"
            },
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:complete/2"
            },
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:complete_with_state/3"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:stream/2"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:to_html/2"
            }
          ],
          "repo": "https://github.com/leandrocp/mdex",
          "vendor": "leandrocp",
          "versions": [
            {
              "lessThan": "2c29b28cd0473c24347aa00b95d16f9ce5f9d9af",
              "status": "affected",
              "version": "bea359152bc1f63f3256ee86ca207151b815940d",
              "versionType": "git"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe vulnerable code runs only when auto-close is active: in \u003ccode\u003eMDEx.stream/2\u003c/code\u003e, where \u003ccode\u003eauto_close\u003c/code\u003e defaults to \u003ccode\u003etrue\u003c/code\u003e; in \u003ccode\u003eMDEx.to_html/2\u003c/code\u003e and the other renderers when called with \u003ccode\u003eauto_close: true\u003c/code\u003e; and in \u003ccode\u003eMDEx.Document\u003c/code\u003e streaming buffers with \u003ccode\u003eauto_close\u003c/code\u003e set. Rendering with the default options of \u003ccode\u003eMDEx.to_html/2\u003c/code\u003e does not reach it.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "The vulnerable code runs only when auto-close is active: in `MDEx.stream/2`, where `auto_close` defaults to `true`; in `MDEx.to_html/2` and the other renderers when called with `auto_close: true`; and in `MDEx.Document` streaming buffers with `auto_close` set. Rendering with the default options of `MDEx.to_html/2` does not reach it."
            }
          ],
          "value": "The vulnerable code runs only when auto-close is active: in MDEx.stream/2, where auto_close defaults to true; in MDEx.to_html/2 and the other renderers when called with auto_close: true; and in MDEx.Document streaming buffers with auto_close set. Rendering with the default options of MDEx.to_html/2 does not reach it."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "0.15.0",
                  "versionStartIncluding": "0.14.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Leandro Pereira"
        }
      ],
      "dateAssigned": "2026-11-30T16:55:38.000Z",
      "datePublic": "2026-11-30T18:45:06.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eInefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls rendered Markdown to cause a denial of service via a bare URL followed by many closing parentheses.\u003c/p\u003e\n\u003cp\u003eWhen auto-close is active, \u003ccode\u003eMDEx.FragmentParser.autolink_size/2\u003c/code\u003e in \u003ccode\u003elib/mdex/fragment_parser.ex\u003c/code\u003e trims trailing \u003ccode\u003e)\u003c/code\u003e from a bare URL one byte at a time and recounts every \u003ccode\u003e(\u003c/code\u003e and \u003ccode\u003e)\u003c/code\u003e in the remaining URL at each step, so a URL followed by N parentheses costs O(N\u00b2) work. Around 20 KB of input pins a scheduler for tens of seconds, and \u003ccode\u003eMDEx.stream/2\u003c/code\u003e repeats the completion over the whole accumulated source for every chunk. No extension needs to be enabled. Rendering with auto-close disabled is not affected.\u003c/p\u003e\n\u003cp\u003eThis issue affects mdex: from 0.14.2 before 0.15.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls rendered Markdown to cause a denial of service via a bare URL followed by many closing parentheses.\n\nWhen auto-close is active, `MDEx.FragmentParser.autolink_size/2` in `lib/mdex/fragment_parser.ex` trims trailing `)` from a bare URL one byte at a time and recounts every `(` and `)` in the remaining URL at each step, so a URL followed by N parentheses costs O(N\u00b2) work. Around 20 KB of input pins a scheduler for tens of seconds, and `MDEx.stream/2` repeats the completion over the whole accumulated source for every chunk. No extension needs to be enabled. Rendering with auto-close disabled is not affected.\n\nThis issue affects mdex: from 0.14.2 before 0.15.0."
            }
          ],
          "value": "Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls rendered Markdown to cause a denial of service via a bare URL followed by many closing parentheses.\n\nWhen auto-close is active, MDEx.FragmentParser.autolink_size/2 in lib/mdex/fragment_parser.ex trims trailing ) from a bare URL one byte at a time and recounts every ( and ) in the remaining URL at each step, so a URL followed by N parentheses costs O(N\u00b2) work. Around 20 KB of input pins a scheduler for tens of seconds, and MDEx.stream/2 repeats the completion over the whole accumulated source for every chunk. No extension needs to be enabled. Rendering with auto-close disabled is not affected.\n\nThis issue affects mdex: from 0.14.2 before 0.15.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-130",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAn attacker who can supply Markdown, or steer LLM output, that an application renders with auto-close can pin BEAM schedulers with a few kilobytes of input per request, delaying or denying service to every other user of the node.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "An attacker who can supply Markdown, or steer LLM output, that an application renders with auto-close can pin BEAM schedulers with a few kilobytes of input per request, delaying or denying service to every other user of the node."
                }
              ],
              "value": "An attacker who can supply Markdown, or steer LLM output, that an application renders with auto-close can pin BEAM schedulers with a few kilobytes of input per request, delaying or denying service to every other user of the node."
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/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"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-407",
              "description": "CWE-407 Inefficient Algorithmic Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-30T18:45:07.891Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "name": "EEF CNA record for CVE-2026-135775",
          "tags": [
            "related",
            "third-party-advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-135775.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-135775",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-135775"
        },
        {
          "name": "Introducing commit bea3591 in leandrocp/mdex",
          "tags": [
            "related"
          ],
          "url": "https://github.com/leandrocp/mdex/commit/bea359152bc1f63f3256ee86ca207151b815940d"
        },
        {
          "name": "Fix commit 2c29b28 in leandrocp/mdex",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/leandrocp/mdex/commit/2c29b28cd0473c24347aa00b95d16f9ce5f9d9af"
        }
      ],
      "source": {
        "discovery": "INTERNAL"
      },
      "title": "Quadratic CPU consumption in mdex auto-close trimming of trailing parentheses after bare URLs",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eRender untrusted Markdown with auto-close disabled: pass \u003ccode\u003eauto_close: false\u003c/code\u003e to \u003ccode\u003eMDEx.stream/2\u003c/code\u003e, and do not pass \u003ccode\u003eauto_close: true\u003c/code\u003e to \u003ccode\u003eMDEx.to_html/2\u003c/code\u003e or the other renderers.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Render untrusted Markdown with auto-close disabled: pass `auto_close: false` to `MDEx.stream/2`, and do not pass `auto_close: true` to `MDEx.to_html/2` or the other renderers."
            }
          ],
          "value": "Render untrusted Markdown with auto-close disabled: pass auto_close: false to MDEx.stream/2, and do not pass auto_close: true to MDEx.to_html/2 or the other renderers."
        }
      ],
      "x_proofOfConcept": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003col\u003e\n\u003cli\u003eBuild the input \u003ccode\u003e\"http://x\"\u003c/code\u003e followed by 15,000 \u003ccode\u003e)\u003c/code\u003e characters (about 15 KB).\u003c/li\u003e\n\u003cli\u003eRender it with \u003ccode\u003eMDEx.to_html!(markdown)\u003c/code\u003e: it completes in a few milliseconds.\u003c/li\u003e\n\u003cli\u003eRender the same input with \u003ccode\u003eMDEx.to_html!(markdown, auto_close: true)\u003c/code\u003e, or pass it as a single chunk to \u003ccode\u003eMDEx.stream/2\u003c/code\u003e: rendering takes tens of seconds and holds a scheduler for the whole time.\u003c/li\u003e\n\u003cli\u003eDoubling the number of parentheses roughly quadruples the time.\u003c/li\u003e\n\u003c/ol\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "1. Build the input `\"http://x\"` followed by 15,000 `)` characters (about 15 KB).\n2. Render it with `MDEx.to_html!(markdown)`: it completes in a few milliseconds.\n3. Render the same input with `MDEx.to_html!(markdown, auto_close: true)`, or pass it as a single chunk to `MDEx.stream/2`: rendering takes tens of seconds and holds a scheduler for the whole time.\n4. Doubling the number of parentheses roughly quadruples the time."
            }
          ],
          "value": "* Build the input \"http://x\" followed by 15,000 ) characters (about 15 KB).\n* Render it with MDEx.to_html!(markdown): it completes in a few milliseconds.\n* Render the same input with MDEx.to_html!(markdown, auto_close: true), or pass it as a single chunk to MDEx.stream/2: rendering takes tens of seconds and holds a scheduler for the whole time.\n* Doubling the number of parentheses roughly quadruples the time."
        }
      ],
      "x_technicalAnalysis": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003cstrong\u003e1. Reaching the trimmer.\u003c/strong\u003e With auto-close active, \u003ccode\u003eMDEx.FragmentParser.complete/2\u003c/code\u003e runs \u003ccode\u003ecomplete_inline/3\u003c/code\u003e, which calls \u003ccode\u003eunmatched_suffix/1\u003c/code\u003e. That masks bare URLs through \u003ccode\u003emask_urls/1\u003c/code\u003e and \u003ccode\u003emask_url_spans/4\u003c/code\u003e, and each URL span is measured with \u003ccode\u003eautolink_text/1\u003c/code\u003e. No extension needs to be enabled.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Quadratic trim.\u003c/strong\u003e \u003ccode\u003eautolink_size/2\u003c/code\u003e walks back from the end of the URL candidate. For every trailing \u003ccode\u003e)\u003c/code\u003e it takes the remaining prefix, counts all \u003ccode\u003e(\u003c/code\u003e and all \u003ccode\u003e)\u003c/code\u003e in it with \u003ccode\u003ecount_char/2\u003c/code\u003e, and if closers outnumber openers it drops one byte and recurses. A URL followed by N \u003ccode\u003e)\u003c/code\u003e therefore performs N full scans of a string of length up to N, which is O(N\u00b2).\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Amplification.\u003c/strong\u003e \u003ccode\u003eMDEx.stream/2\u003c/code\u003e re-runs completion over the whole accumulated source for every chunk, so a payload delivered over many chunks multiplies the cost. None of the entry points limits input size.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "**1. Reaching the trimmer.** With auto-close active, `MDEx.FragmentParser.complete/2` runs `complete_inline/3`, which calls `unmatched_suffix/1`. That masks bare URLs through `mask_urls/1` and `mask_url_spans/4`, and each URL span is measured with `autolink_text/1`. No extension needs to be enabled.\n\n**2. Quadratic trim.** `autolink_size/2` walks back from the end of the URL candidate. For every trailing `)` it takes the remaining prefix, counts all `(` and all `)` in it with `count_char/2`, and if closers outnumber openers it drops one byte and recurses. A URL followed by N `)` therefore performs N full scans of a string of length up to N, which is O(N\u00b2).\n\n**3. Amplification.** `MDEx.stream/2` re-runs completion over the whole accumulated source for every chunk, so a payload delivered over many chunks multiplies the cost. None of the entry points limits input size."
            }
          ],
          "value": "1. Reaching the trimmer. With auto-close active, MDEx.FragmentParser.complete/2 runs complete_inline/3, which calls unmatched_suffix/1. That masks bare URLs through mask_urls/1 and mask_url_spans/4, and each URL span is measured with autolink_text/1. No extension needs to be enabled.\n\n2. Quadratic trim. autolink_size/2 walks back from the end of the URL candidate. For every trailing ) it takes the remaining prefix, counts all ( and all ) in it with count_char/2, and if closers outnumber openers it drops one byte and recurses. A URL followed by N ) therefore performs N full scans of a string of length up to N, which is O(N\u00b2).\n\n3. Amplification. MDEx.stream/2 re-runs completion over the whole accumulated source for every chunk, so a payload delivered over many chunks multiplies the cost. None of the entry points limits input size."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-135775",
    "datePublished": "2026-11-30T18:45:07.891Z",
    "dateReserved": "2026-11-30T08:50:03.708Z",
    "dateUpdated": "2026-11-30T18:59:54.741Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-134916 (GCVE-0-2026-134916)

Vulnerability from cvelistv5 – Published: 2026-11-30 18:43 – Updated: 2026-12-03 18:05
VLAI
Title
Quadratic CPU consumption in MDEx Quill Delta conversion of nested block quotes
Summary
Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to MDEx.to_delta/2. When converting a document to a Quill Delta, MDEx.DeltaConverter.default_convert_node/3 in lib/mdex/delta_converter.ex calls apply_block_format/2 for every MDEx.BlockQuote and MDEx.Alert node, and that function rewrites every op produced by the node's descendants. Conversion therefore costs the nesting depth times the number of ops inside, and the parser places no limit on block quote depth. A document of a few hundred kilobytes keeps a scheduler busy for minutes, while parsing and HTML rendering of the same input finish in milliseconds. The parse_time budget bounds only the native parse, not the conversion. This issue affects mdex: from 0.8.3 before 0.15.0.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-12-03 17:11 UTC
CWE
  • CWE-407 - Inefficient Algorithmic Complexity
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 385 records in the last 180 days details
Impacted products
Vendor Product Version
leandrocp mdex Affected: 0.8.3 , < 0.15.0 (semver)
    cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
Create a notification for this product.
leandrocp mdex Affected: 9852db2456fdc9d856eb636603a7f608e22e3793 , < 75e735a26859f93c36f10d17a3119f856fe69009 (git)
    cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-30 18:43
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-134916",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-12-03T17:11:53.718442Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-12-03T18:05:05.716Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.MDEx\u0027",
            "\u0027Elixir.MDEx.DeltaConverter\u0027"
          ],
          "packageName": "mdex",
          "packageURL": "pkg:hex/mdex",
          "product": "mdex",
          "programFiles": [
            "lib/mdex.ex",
            "lib/mdex/delta_converter.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.MDEx\u0027:to_delta/2"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:\u0027to_delta!\u0027/2"
            },
            {
              "name": "\u0027Elixir.MDEx.DeltaConverter\u0027:convert/2"
            },
            {
              "name": "\u0027Elixir.MDEx.DeltaConverter\u0027:default_convert_node/3"
            },
            {
              "name": "\u0027Elixir.MDEx.DeltaConverter\u0027:apply_block_format/2"
            }
          ],
          "repo": "https://github.com/leandrocp/mdex",
          "vendor": "leandrocp",
          "versions": [
            {
              "lessThan": "0.15.0",
              "status": "affected",
              "version": "0.8.3",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.MDEx\u0027",
            "\u0027Elixir.MDEx.DeltaConverter\u0027"
          ],
          "packageName": "leandrocp/mdex",
          "packageURL": "pkg:github/leandrocp/mdex",
          "product": "mdex",
          "programFiles": [
            "lib/mdex.ex",
            "lib/mdex/delta_converter.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.MDEx\u0027:to_delta/2"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:\u0027to_delta!\u0027/2"
            },
            {
              "name": "\u0027Elixir.MDEx.DeltaConverter\u0027:convert/2"
            },
            {
              "name": "\u0027Elixir.MDEx.DeltaConverter\u0027:default_convert_node/3"
            },
            {
              "name": "\u0027Elixir.MDEx.DeltaConverter\u0027:apply_block_format/2"
            }
          ],
          "repo": "https://github.com/leandrocp/mdex",
          "vendor": "leandrocp",
          "versions": [
            {
              "lessThan": "75e735a26859f93c36f10d17a3119f856fe69009",
              "status": "affected",
              "version": "9852db2456fdc9d856eb636603a7f608e22e3793",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "0.15.0",
                  "versionStartIncluding": "0.8.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Leandro Pereira"
        }
      ],
      "dateAssigned": "2026-11-30T16:56:03.000Z",
      "datePublic": "2026-11-30T18:43:37.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eInefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to \u003ccode\u003eMDEx.to_delta/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eWhen converting a document to a Quill Delta, \u003ccode\u003eMDEx.DeltaConverter.default_convert_node/3\u003c/code\u003e in \u003ccode\u003elib/mdex/delta_converter.ex\u003c/code\u003e calls \u003ccode\u003eapply_block_format/2\u003c/code\u003e for every \u003ccode\u003eMDEx.BlockQuote\u003c/code\u003e and \u003ccode\u003eMDEx.Alert\u003c/code\u003e node, and that function rewrites every op produced by the node\u0027s descendants. Conversion therefore costs the nesting depth times the number of ops inside, and the parser places no limit on block quote depth. A document of a few hundred kilobytes keeps a scheduler busy for minutes, while parsing and HTML rendering of the same input finish in milliseconds. The \u003ccode\u003eparse_time\u003c/code\u003e budget bounds only the native parse, not the conversion.\u003c/p\u003e\n\u003cp\u003eThis issue affects mdex: from 0.8.3 before 0.15.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to `MDEx.to_delta/2`.\n\nWhen converting a document to a Quill Delta, `MDEx.DeltaConverter.default_convert_node/3` in `lib/mdex/delta_converter.ex` calls `apply_block_format/2` for every `MDEx.BlockQuote` and `MDEx.Alert` node, and that function rewrites every op produced by the node\u0027s descendants. Conversion therefore costs the nesting depth times the number of ops inside, and the parser places no limit on block quote depth. A document of a few hundred kilobytes keeps a scheduler busy for minutes, while parsing and HTML rendering of the same input finish in milliseconds. The `parse_time` budget bounds only the native parse, not the conversion.\n\nThis issue affects mdex: from 0.8.3 before 0.15.0."
            }
          ],
          "value": "Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to MDEx.to_delta/2.\n\nWhen converting a document to a Quill Delta, MDEx.DeltaConverter.default_convert_node/3 in lib/mdex/delta_converter.ex calls apply_block_format/2 for every MDEx.BlockQuote and MDEx.Alert node, and that function rewrites every op produced by the node\u0027s descendants. Conversion therefore costs the nesting depth times the number of ops inside, and the parser places no limit on block quote depth. A document of a few hundred kilobytes keeps a scheduler busy for minutes, while parsing and HTML rendering of the same input finish in milliseconds. The parse_time budget bounds only the native parse, not the conversion.\n\nThis issue affects mdex: from 0.8.3 before 0.15.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-230",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAn unauthenticated attacker who can submit Markdown to an application that converts it with \u003ccode\u003eMDEx.to_delta/2\u003c/code\u003e can occupy BEAM schedulers for minutes per small request, degrading or denying service to every other user of the node while the attack continues.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "An unauthenticated attacker who can submit Markdown to an application that converts it with `MDEx.to_delta/2` can occupy BEAM schedulers for minutes per small request, degrading or denying service to every other user of the node while the attack continues."
                }
              ],
              "value": "An unauthenticated attacker who can submit Markdown to an application that converts it with MDEx.to_delta/2 can occupy BEAM schedulers for minutes per small request, degrading or denying service to every other user of the node while the attack continues."
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "LOCAL",
            "baseScore": 6.9,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/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"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-407",
              "description": "CWE-407 Inefficient Algorithmic Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-30T18:43:38.840Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "name": "EEF CNA record for CVE-2026-134916",
          "tags": [
            "related",
            "third-party-advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-134916.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-134916",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-134916"
        },
        {
          "name": "Introducing commit 9852db2 in leandrocp/mdex",
          "tags": [
            "related"
          ],
          "url": "https://github.com/leandrocp/mdex/commit/9852db2456fdc9d856eb636603a7f608e22e3793"
        },
        {
          "name": "Fix commit 75e735a in leandrocp/mdex",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009"
        }
      ],
      "source": {
        "discovery": "INTERNAL"
      },
      "title": "Quadratic CPU consumption in MDEx Quill Delta conversion of nested block quotes",
      "x_proofOfConcept": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003col\u003e\n\u003cli\u003eBuild a Markdown document of 4,000 \u003ccode\u003e\u0026gt;\u003c/code\u003e characters, then \u003ccode\u003e a\u003c/code\u003e and a newline, then 40,000 lines of \u003ccode\u003eb\u003c/code\u003e (about 84 KB).\u003c/li\u003e\n\u003cli\u003eConvert it with \u003ccode\u003eMDEx.to_delta!(markdown, budget: [parse_time: 1_000])\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eObserve that the call takes several seconds (9.4 s on 0.14.9), while \u003ccode\u003eMDEx.to_html!/1\u003c/code\u003e on the same input finishes in about 16 ms. Doubling depth and line count roughly quadruples the conversion time.\u003c/li\u003e\n\u003c/ol\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "1. Build a Markdown document of 4,000 `\u003e` characters, then ` a` and a newline, then 40,000 lines of `b` (about 84 KB).\n2. Convert it with `MDEx.to_delta!(markdown, budget: [parse_time: 1_000])`.\n3. Observe that the call takes several seconds (9.4 s on 0.14.9), while `MDEx.to_html!/1` on the same input finishes in about 16 ms. Doubling depth and line count roughly quadruples the conversion time."
            }
          ],
          "value": "* Build a Markdown document of 4,000 \u003e characters, then  a and a newline, then 40,000 lines of b (about 84 KB).\n* Convert it with MDEx.to_delta!(markdown, budget: [parse_time: 1_000]).\n* Observe that the call takes several seconds (9.4 s on 0.14.9), while MDEx.to_html!/1 on the same input finishes in about 16 ms. Doubling depth and line count roughly quadruples the conversion time."
        }
      ],
      "x_technicalAnalysis": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003cstrong\u003e1. Input.\u003c/strong\u003e Comrak sets no limit on block quote depth, so a line of d \u003ccode\u003e\u0026gt;\u003c/code\u003e characters followed by n lazy-continuation lines produces d nested \u003ccode\u003eMDEx.BlockQuote\u003c/code\u003e nodes holding about 2n ops, in only d+2n bytes.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Conversion.\u003c/strong\u003e \u003ccode\u003eMDEx.DeltaConverter.default_convert_node/3\u003c/code\u003e converts each block quote\u0027s children first and then calls \u003ccode\u003eapply_block_format/2\u003c/code\u003e, which maps over every descendant op to add the \u003ccode\u003eblockquote\u003c/code\u003e attribute to newline ops. \u003ccode\u003eMDEx.Alert\u003c/code\u003e does the same with its alert attributes. Each nesting level walks and rebuilds the whole op list again, so total work is O(d\u00b7n).\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Effect.\u003c/strong\u003e Measured on 0.14.7, depth 2,000 with 20,000 lines (42 KB) takes 1.9 s, depth 5,000 with 50,000 lines (105 KB) takes 15 s, and depth 10,000 with 100,000 lines (210 KB) takes 172 s. Parsing and \u003ccode\u003eMDEx.to_html/2\u003c/code\u003e stay under about 100 ms for the same inputs. \u003ccode\u003ebudget: [parse_time: ...]\u003c/code\u003e limits only the native parse: with \u003ccode\u003eparse_time: 1000\u003c/code\u003e the 105 KB input still spent 12 s in conversion.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "**1. Input.** Comrak sets no limit on block quote depth, so a line of d `\u003e` characters followed by n lazy-continuation lines produces d nested `MDEx.BlockQuote` nodes holding about 2n ops, in only d+2n bytes.\n\n**2. Conversion.** `MDEx.DeltaConverter.default_convert_node/3` converts each block quote\u0027s children first and then calls `apply_block_format/2`, which maps over every descendant op to add the `blockquote` attribute to newline ops. `MDEx.Alert` does the same with its alert attributes. Each nesting level walks and rebuilds the whole op list again, so total work is O(d\u00b7n).\n\n**3. Effect.** Measured on 0.14.7, depth 2,000 with 20,000 lines (42 KB) takes 1.9 s, depth 5,000 with 50,000 lines (105 KB) takes 15 s, and depth 10,000 with 100,000 lines (210 KB) takes 172 s. Parsing and `MDEx.to_html/2` stay under about 100 ms for the same inputs. `budget: [parse_time: ...]` limits only the native parse: with `parse_time: 1000` the 105 KB input still spent 12 s in conversion."
            }
          ],
          "value": "1. Input. Comrak sets no limit on block quote depth, so a line of d \u003e characters followed by n lazy-continuation lines produces d nested MDEx.BlockQuote nodes holding about 2n ops, in only d+2n bytes.\n\n2. Conversion. MDEx.DeltaConverter.default_convert_node/3 converts each block quote\u0027s children first and then calls apply_block_format/2, which maps over every descendant op to add the blockquote attribute to newline ops. MDEx.Alert does the same with its alert attributes. Each nesting level walks and rebuilds the whole op list again, so total work is O(d\u00b7n).\n\n3. Effect. Measured on 0.14.7, depth 2,000 with 20,000 lines (42 KB) takes 1.9 s, depth 5,000 with 50,000 lines (105 KB) takes 15 s, and depth 10,000 with 100,000 lines (210 KB) takes 172 s. Parsing and MDEx.to_html/2 stay under about 100 ms for the same inputs. budget: [parse_time: ...] limits only the native parse: with parse_time: 1000 the 105 KB input still spent 12 s in conversion."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-134916",
    "datePublished": "2026-11-30T18:43:38.840Z",
    "dateReserved": "2026-11-30T16:56:01.763Z",
    "dateUpdated": "2026-12-03T18:05:05.716Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-134915 (GCVE-0-2026-134915)

Vulnerability from cvelistv5 – Published: 2026-11-30 18:43 – Updated: 2026-12-03 18:13
VLAI
Title
Quadratic HTML tag tracking in MDEx.stream/2 allows CPU exhaustion via unmatched closing tags
Summary
Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown passed to MDEx.stream/2 to exhaust CPU via unmatched HTML closing tags. MDEx.stream/2 tracks open HTML tags with MDEx.FragmentParser.continue_html_context/2 in lib/mdex/fragment_parser.ex. Every non-void opening tag is pushed onto an unbounded list, and close_html_tag/2 scans the whole list for each closing tag. A closer with no matching opener leaves the list unchanged, so the next closer scans it again. An HTML block of N openers followed by N unmatched closers therefore costs O(N²), and about 270 KB of input keeps a scheduler busy for tens of seconds. The tracking runs on every HTML block and inline HTML literal regardless of the auto_close option and the render unsafe setting. MDEx.to_html/1 and the other non-streaming entry points are not affected. This issue affects mdex: from 0.14.0 before 0.15.0.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-12-03 17:11 UTC
CWE
  • CWE-407 - Inefficient Algorithmic Complexity
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 385 records in the last 180 days details
Impacted products
Vendor Product Version
leandrocp mdex Affected: 0.14.0 , < 0.15.0 (semver)
    cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
Create a notification for this product.
leandrocp mdex Affected: a88793cb0fc5caf75bf878b92c64d36817824765 , < 2c29b28cd0473c24347aa00b95d16f9ce5f9d9af (git)
    cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-30 18:43
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-134915",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-12-03T17:11:46.994447Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-12-03T18:13:26.736Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.MDEx.FragmentParser\u0027",
            "\u0027Elixir.MDEx\u0027"
          ],
          "packageName": "mdex",
          "packageURL": "pkg:hex/mdex",
          "product": "mdex",
          "programFiles": [
            "lib/mdex/fragment_parser.ex",
            "lib/mdex.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:close_html_tag/2"
            },
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:continue_html_context/2"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:stream/2"
            }
          ],
          "repo": "https://github.com/leandrocp/mdex",
          "vendor": "leandrocp",
          "versions": [
            {
              "lessThan": "0.15.0",
              "status": "affected",
              "version": "0.14.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.MDEx.FragmentParser\u0027",
            "\u0027Elixir.MDEx\u0027"
          ],
          "packageName": "leandrocp/mdex",
          "packageURL": "pkg:github/leandrocp/mdex",
          "product": "mdex",
          "programFiles": [
            "lib/mdex/fragment_parser.ex",
            "lib/mdex.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:close_html_tag/2"
            },
            {
              "name": "\u0027Elixir.MDEx.FragmentParser\u0027:continue_html_context/2"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:stream/2"
            }
          ],
          "repo": "https://github.com/leandrocp/mdex",
          "vendor": "leandrocp",
          "versions": [
            {
              "lessThan": "2c29b28cd0473c24347aa00b95d16f9ce5f9d9af",
              "status": "affected",
              "version": "a88793cb0fc5caf75bf878b92c64d36817824765",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "0.15.0",
                  "versionStartIncluding": "0.14.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Leandro Pereira"
        }
      ],
      "dateAssigned": "2026-11-30T16:56:08.000Z",
      "datePublic": "2026-11-30T18:43:09.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eInefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown passed to \u003ccode\u003eMDEx.stream/2\u003c/code\u003e to exhaust CPU via unmatched HTML closing tags.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eMDEx.stream/2\u003c/code\u003e tracks open HTML tags with \u003ccode\u003eMDEx.FragmentParser.continue_html_context/2\u003c/code\u003e in \u003ccode\u003elib/mdex/fragment_parser.ex\u003c/code\u003e. Every non-void opening tag is pushed onto an unbounded list, and \u003ccode\u003eclose_html_tag/2\u003c/code\u003e scans the whole list for each closing tag. A closer with no matching opener leaves the list unchanged, so the next closer scans it again. An HTML block of N openers followed by N unmatched closers therefore costs O(N\u00b2), and about 270 KB of input keeps a scheduler busy for tens of seconds. The tracking runs on every HTML block and inline HTML literal regardless of the \u003ccode\u003eauto_close\u003c/code\u003e option and the render \u003ccode\u003eunsafe\u003c/code\u003e setting. \u003ccode\u003eMDEx.to_html/1\u003c/code\u003e and the other non-streaming entry points are not affected.\u003c/p\u003e\n\u003cp\u003eThis issue affects mdex: from 0.14.0 before 0.15.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown passed to `MDEx.stream/2` to exhaust CPU via unmatched HTML closing tags.\n\n`MDEx.stream/2` tracks open HTML tags with `MDEx.FragmentParser.continue_html_context/2` in `lib/mdex/fragment_parser.ex`. Every non-void opening tag is pushed onto an unbounded list, and `close_html_tag/2` scans the whole list for each closing tag. A closer with no matching opener leaves the list unchanged, so the next closer scans it again. An HTML block of N openers followed by N unmatched closers therefore costs O(N\u00b2), and about 270 KB of input keeps a scheduler busy for tens of seconds. The tracking runs on every HTML block and inline HTML literal regardless of the `auto_close` option and the render `unsafe` setting. `MDEx.to_html/1` and the other non-streaming entry points are not affected.\n\nThis issue affects mdex: from 0.14.0 before 0.15.0."
            }
          ],
          "value": "Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown passed to MDEx.stream/2 to exhaust CPU via unmatched HTML closing tags.\n\nMDEx.stream/2 tracks open HTML tags with MDEx.FragmentParser.continue_html_context/2 in lib/mdex/fragment_parser.ex. Every non-void opening tag is pushed onto an unbounded list, and close_html_tag/2 scans the whole list for each closing tag. A closer with no matching opener leaves the list unchanged, so the next closer scans it again. An HTML block of N openers followed by N unmatched closers therefore costs O(N\u00b2), and about 270 KB of input keeps a scheduler busy for tens of seconds. The tracking runs on every HTML block and inline HTML literal regardless of the auto_close option and the render unsafe setting. MDEx.to_html/1 and the other non-streaming entry points are not affected.\n\nThis issue affects mdex: from 0.14.0 before 0.15.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-130",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAn attacker who can submit Markdown that an application renders with \u003ccode\u003eMDEx.stream/2\u003c/code\u003e can tie up a BEAM scheduler for tens of seconds per request, and a few concurrent requests stall the node.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "An attacker who can submit Markdown that an application renders with `MDEx.stream/2` can tie up a BEAM scheduler for tens of seconds per request, and a few concurrent requests stall the node."
                }
              ],
              "value": "An attacker who can submit Markdown that an application renders with MDEx.stream/2 can tie up a BEAM scheduler for tens of seconds per request, and a few concurrent requests stall the node."
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "LOCAL",
            "baseScore": 6.9,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/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"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-407",
              "description": "CWE-407 Inefficient Algorithmic Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-30T18:43:11.147Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "name": "EEF CNA record for CVE-2026-134915",
          "tags": [
            "related",
            "third-party-advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-134915.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-134915",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-134915"
        },
        {
          "name": "Introducing commit a88793c in leandrocp/mdex",
          "tags": [
            "related"
          ],
          "url": "https://github.com/leandrocp/mdex/commit/a88793cb0fc5caf75bf878b92c64d36817824765"
        },
        {
          "name": "Fix commit 2c29b28 in leandrocp/mdex",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/leandrocp/mdex/commit/2c29b28cd0473c24347aa00b95d16f9ce5f9d9af"
        }
      ],
      "source": {
        "discovery": "INTERNAL"
      },
      "title": "Quadratic HTML tag tracking in MDEx.stream/2 allows CPU exhaustion via unmatched closing tags",
      "x_proofOfConcept": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003col\u003e\n\u003cli\u003eBuild a Markdown string of \u003ccode\u003e\u0026lt;div\u0026gt;\u003c/code\u003e repeated 30,000 times followed by \u003ccode\u003e\u0026lt;/b\u0026gt;\u003c/code\u003e repeated 30,000 times (270,000 bytes).\u003c/li\u003e\n\u003cli\u003eRender it as one chunk with \u003ccode\u003eMDEx.stream(auto_close: false)\u003c/code\u003e and run the stream.\u003c/li\u003e\n\u003cli\u003eObserve about 30 seconds of CPU on mdex 0.14.9, against a few milliseconds for \u003ccode\u003eMDEx.to_html!/1\u003c/code\u003e on the same input. Doubling the input roughly quadruples the time.\u003c/li\u003e\n\u003c/ol\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "1. Build a Markdown string of `\u003cdiv\u003e` repeated 30,000 times followed by `\u003c/b\u003e` repeated 30,000 times (270,000 bytes).\n2. Render it as one chunk with `MDEx.stream(auto_close: false)` and run the stream.\n3. Observe about 30 seconds of CPU on mdex 0.14.9, against a few milliseconds for `MDEx.to_html!/1` on the same input. Doubling the input roughly quadruples the time."
            }
          ],
          "value": "* Build a Markdown string of \u003cdiv\u003e repeated 30,000 times followed by \u003c/b\u003e repeated 30,000 times (270,000 bytes).\n* Render it as one chunk with MDEx.stream(auto_close: false) and run the stream.\n* Observe about 30 seconds of CPU on mdex 0.14.9, against a few milliseconds for MDEx.to_html!/1 on the same input. Doubling the input roughly quadruples the time."
        }
      ],
      "x_technicalAnalysis": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003cstrong\u003e1. Reachability.\u003c/strong\u003e \u003ccode\u003eMDEx.stream/2\u003c/code\u003e renders each chunk through \u003ccode\u003eemit_stream_source\u003c/code\u003e, \u003ccode\u003estream_source_blocks\u003c/code\u003e and \u003ccode\u003estream_node_groups\u003c/code\u003e in \u003ccode\u003elib/mdex.ex\u003c/code\u003e. \u003ccode\u003estream_node_groups\u003c/code\u003e calls \u003ccode\u003eMDEx.FragmentParser.continue_html_context/2\u003c/code\u003e on every parsed node, so every \u003ccode\u003eHtmlBlock\u003c/code\u003e and \u003ccode\u003eHtmlInline\u003c/code\u003e literal is scanned, whatever the \u003ccode\u003eauto_close\u003c/code\u003e and render \u003ccode\u003eunsafe\u003c/code\u003e settings are.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Unbounded stack.\u003c/strong\u003e \u003ccode\u003escan_html\u003c/code\u003e pushes every non-void, non-self-closing opening tag onto the context list with no size limit.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Quadratic scan.\u003c/strong\u003e For each closing tag, \u003ccode\u003eclose_html_tag/2\u003c/code\u003e runs \u003ccode\u003eEnum.split_while/2\u003c/code\u003e over the whole list. When no matching opener exists, it returns the list unchanged, so every following unmatched closer walks the full list again. N openers followed by N unmatched closers cost O(N\u00b2).\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "**1. Reachability.** `MDEx.stream/2` renders each chunk through `emit_stream_source`, `stream_source_blocks` and `stream_node_groups` in `lib/mdex.ex`. `stream_node_groups` calls `MDEx.FragmentParser.continue_html_context/2` on every parsed node, so every `HtmlBlock` and `HtmlInline` literal is scanned, whatever the `auto_close` and render `unsafe` settings are.\n\n**2. Unbounded stack.** `scan_html` pushes every non-void, non-self-closing opening tag onto the context list with no size limit.\n\n**3. Quadratic scan.** For each closing tag, `close_html_tag/2` runs `Enum.split_while/2` over the whole list. When no matching opener exists, it returns the list unchanged, so every following unmatched closer walks the full list again. N openers followed by N unmatched closers cost O(N\u00b2)."
            }
          ],
          "value": "1. Reachability. MDEx.stream/2 renders each chunk through emit_stream_source, stream_source_blocks and stream_node_groups in lib/mdex.ex. stream_node_groups calls MDEx.FragmentParser.continue_html_context/2 on every parsed node, so every HtmlBlock and HtmlInline literal is scanned, whatever the auto_close and render unsafe settings are.\n\n2. Unbounded stack. scan_html pushes every non-void, non-self-closing opening tag onto the context list with no size limit.\n\n3. Quadratic scan. For each closing tag, close_html_tag/2 runs Enum.split_while/2 over the whole list. When no matching opener exists, it returns the list unchanged, so every following unmatched closer walks the full list again. N openers followed by N unmatched closers cost O(N\u00b2)."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-134915",
    "datePublished": "2026-11-30T18:43:11.147Z",
    "dateReserved": "2026-11-30T16:56:06.346Z",
    "dateUpdated": "2026-12-03T18:13:26.736Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-134812 (GCVE-0-2026-134812)

Vulnerability from cvelistv5 – Published: 2026-11-22 21:22 – Updated: 2026-11-23 16:31
VLAI
Title
msgpackr before 2.1.4 Inefficient Algorithmic Complexity via UnpackrStream and decodeIter
Summary
msgpackr before 2.1.4 contains an inefficient algorithmic complexity vulnerability that allows remote attackers to cause denial of service by repeatedly re-decoding buffered incomplete values. Attackers can stream a large container of small elements in small chunks to UnpackrStream or decodeIter, triggering quadratic decoding cost that blocks the Node.js event loop.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-23 15:30 UTC
CWE
  • CWE-407 - Inefficient Algorithmic Complexity
Assigner
VulnCheck CNA under the mitre root
CNA scorecard B 84/100 over 10107 records in the last 180 days details
Impacted products
Vendor Product Version
kriszyp msgpackr Affected: 0 , < 2.1.4 (semver)
    cpe:2.3:a:kriszyp:msgpackr:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-02 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-134812",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-23T15:30:25.413825Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-23T16:31:44.223Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:npm/msgpackr",
          "product": "msgpackr",
          "repo": "https://github.com/kriszyp/msgpackr",
          "vendor": "kriszyp",
          "versions": [
            {
              "lessThan": "2.1.4",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:kriszyp:msgpackr:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.1.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Zachariah Mithani (AploSec)"
        }
      ],
      "datePublic": "2026-11-02T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "msgpackr before 2.1.4 contains an inefficient algorithmic complexity vulnerability that allows remote attackers to cause denial of service by repeatedly re-decoding buffered incomplete values. Attackers can stream a large container of small elements in small chunks to UnpackrStream or decodeIter, triggering quadratic decoding cost that blocks the Node.js event loop."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "HIGH",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE"
          },
          "format": "CVSS"
        },
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "format": "CVSS"
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-407",
              "description": "Inefficient Algorithmic Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-22T21:22:18.455Z",
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck"
      },
      "references": [
        {
          "tags": [
            "issue-tracking"
          ],
          "url": "https://github.com/kriszyp/msgpackr/issues/229"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/kriszyp/msgpackr/commit/4eae7a11e96bb4ac292bb9ec9b4765cf18095a2f"
        },
        {
          "tags": [
            "technical-description"
          ],
          "url": "https://github.com/kriszyp/msgpackr/blob/v2.1.3/iterators.js#L89-L127"
        },
        {
          "name": "VulnCheck Advisory: msgpackr before 2.1.4 Inefficient Algorithmic Complexity via UnpackrStream and decodeIter",
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://www.vulncheck.com/advisories/msgpackr-before-2.1.4-inefficient-algorithmic-complexity-via-unpackrstream-and-decodeiter"
        }
      ],
      "title": "msgpackr before 2.1.4 Inefficient Algorithmic Complexity via UnpackrStream and decodeIter",
      "x_generator": {
        "engine": "vulncheck-endgame"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "cveId": "CVE-2026-134812",
    "datePublished": "2026-11-22T21:22:18.455Z",
    "dateReserved": "2026-11-22T17:09:46.398Z",
    "dateUpdated": "2026-11-23T16:31:44.223Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-134791 (GCVE-0-2026-134791)

Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 19:59
VLAI
Title
Unclosed Comments Make the Lexer of ExpressionLanguage Quadratic, Letting Untrusted Expressions Hold a Process
Summary
Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a /* was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each /* scanned the rest of the expression again. Linting 192 KB of /* took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT. The lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the ExpressionSyntax validation constraint. A Length constraint on the same value doesn't help, since the validator runs both constraints. The lexer now uses strpos() to find the end of a comment, and a comment that is never closed throws a SyntaxError. Such expressions were already invalid. Lexing takes linear time again.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-25 19:50 UTC
CWE
  • CWE-407 - Inefficient Algorithmic Complexity
Assigner
Symfony CNA
CNA scorecard B 83/100 over 46 records in the last 180 days details
Impacted products
Vendor Product Version
Symfony symfony/expression-language Affected: 7.2.0 , < 7.4.24 (semver)
Affected: 8.0.0 , < 8.1.12 (semver)
Create a notification for this product.
Symfony symfony/symfony Affected: 7.2.0 , < 7.4.24 (semver)
Affected: 8.0.0 , < 8.1.12 (semver)
Create a notification for this product.
Date Public
2026-11-25 09:36
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-134791",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-25T19:50:50.891596Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-25T19:59:36.391Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/expression-language",
          "product": "symfony/expression-language",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "7.4.24",
              "status": "affected",
              "version": "7.2.0",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.12",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/symfony",
          "product": "symfony/symfony",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "7.4.24",
              "status": "affected",
              "version": "7.2.0",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.12",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Nicolas Grekas"
        }
      ],
      "datePublic": "2026-11-25T09:36:49.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a `/*` was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each `/*` scanned the rest of the expression again. Linting 192 KB of `/* ` took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT.\n\nThe lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the `ExpressionSyntax` validation constraint. A `Length` constraint on the same value doesn\u0027t help, since the validator runs both constraints.\n\nThe lexer now uses `strpos()` to find the end of a comment, and a comment that is never closed throws a `SyntaxError`. Such expressions were already invalid. Lexing takes linear time again."
            }
          ],
          "value": "Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a /* was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each /* scanned the rest of the expression again. Linting 192 KB of /*  took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT.\n\nThe lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the ExpressionSyntax validation constraint. A Length constraint on the same value doesn\u0027t help, since the validator runs both constraints.\n\nThe lexer now uses strpos() to find the end of a comment, and a comment that is never closed throws a SyntaxError. Such expressions were already invalid. Lexing takes linear time again."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
            "version": "4.0"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-407",
              "description": "CWE-407 Inefficient Algorithmic Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-25T10:00:22.747Z",
        "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "shortName": "Symfony"
      },
      "references": [
        {
          "name": "CVE-2026-134791",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://symfony.com/cve-2026-134791"
        },
        {
          "name": "GHSA-5vf6-gchv-cmcr",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://github.com/symfony/symfony/security/advisories/GHSA-5vf6-gchv-cmcr"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/symfony/symfony/commit/e098ffa5936c7c238b9c1a9d5cb82def4573de4f"
        }
      ],
      "source": {
        "advisory": "GHSA-5vf6-gchv-cmcr",
        "discovery": "UNKNOWN"
      },
      "title": "Unclosed Comments Make the Lexer of ExpressionLanguage Quadratic, Letting Untrusted Expressions Hold a Process",
      "x_generator": {
        "engine": "symfony/ghsa-to-cve"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
    "assignerShortName": "Symfony",
    "cveId": "CVE-2026-134791",
    "datePublished": "2026-11-25T10:00:22.747Z",
    "dateReserved": "2026-11-22T17:09:05.968Z",
    "dateUpdated": "2026-11-25T19:59:36.391Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-134366 (GCVE-0-2026-134366)

Vulnerability from cvelistv5 – Published: 2026-11-21 16:34 – Updated: 2026-11-23 16:08
VLAI
Title
pypdf before 7.0.0 Memory Exhaustion via Cross-Reference Streams with Identical Offsets
Summary
pypdf before 7.0.0 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage by supplying crafted PDF cross-reference streams. Attackers can craft a PDF whose cross-reference stream offsets all point to one large object, exhausting memory in applications parsing the file.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-23 16:07 UTC
CWE
  • CWE-407 - Inefficient Algorithmic Complexity
Assigner
VulnCheck CNA under the mitre root
CNA scorecard B 84/100 over 10107 records in the last 180 days details
References
Impacted products
Vendor Product Version
py-pdf pypdf Affected: 0 , < 7.0.0 (semver)
Unaffected: 7.0.0 (semver)
    cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-06 00:00
Credits
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-134366",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-23T16:07:59.694011Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-23T16:08:10.992Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:pypi/pypdf",
          "product": "pypdf",
          "vendor": "py-pdf",
          "versions": [
            {
              "lessThan": "7.0.0",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "7.0.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Be33eD"
        }
      ],
      "datePublic": "2026-11-06T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "pypdf before 7.0.0 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage by supplying crafted PDF cross-reference streams. Attackers can craft a PDF whose cross-reference stream offsets all point to one large object, exhausting memory in applications parsing the file."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "NONE",
            "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:N/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"
        },
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "format": "CVSS"
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-407",
              "description": "Inefficient Algorithmic Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-21T16:34:15.709Z",
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck"
      },
      "references": [
        {
          "name": "GitHub Security Advisory (GHSA-59jv-x5x2-gg4c)",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://github.com/py-pdf/pypdf/security/advisories/GHSA-59jv-x5x2-gg4c"
        },
        {
          "name": "VulnCheck Advisory: pypdf before 7.0.0 Memory Exhaustion via Cross-Reference Streams with Identical Offsets",
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://www.vulncheck.com/advisories/pypdf-before-7.0.0-memory-exhaustion-via-cross-reference-streams-with-identical-offsets"
        }
      ],
      "title": "pypdf before 7.0.0 Memory Exhaustion via Cross-Reference Streams with Identical Offsets",
      "x_generator": {
        "engine": "vulncheck-endgame"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "cveId": "CVE-2026-134366",
    "datePublished": "2026-11-21T16:34:15.709Z",
    "dateReserved": "2026-11-21T00:01:23.102Z",
    "dateUpdated": "2026-11-23T16:08:10.992Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-134164 (GCVE-0-2026-134164)

Vulnerability from cvelistv5 – Published: 2026-11-20 22:30 – Updated: 2026-11-23 20:11
VLAI
Title
probe-image-size before 7.5.0 Denial of Service via EXIF Sub-IFD Traversal
Summary
probe-image-size before 7.5.0 contains an algorithmic-complexity denial of service vulnerability in lib/exif_utils.js that allows remote unauthenticated attackers to exhaust CPU by supplying self-referencing EXIF IFDs. Attackers can submit a crafted 9.6 KB JPEG with repeated ExifIFD and InteropIFD pointers to block the Node.js event loop for about 23 seconds.
SSVC
Exploitation: poc Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-23 20:11 UTC
CWE
  • CWE-407 - Inefficient Algorithmic Complexity
Assigner
VulnCheck CNA under the mitre root
CNA scorecard B 84/100 over 10107 records in the last 180 days details
Impacted products
Vendor Product Version
nodeca probe-image-size Affected: 0 , < 7.5.0 (semver)
Create a notification for this product.
Date Public
2026-10-26 22:45
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-134164",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-23T20:11:02.149325Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-23T20:11:08.742Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/nodeca/probe-image-size/security/advisories/GHSA-gvwc-5hr5-44p8"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:npm/probe-image-size",
          "product": "probe-image-size",
          "repo": "https://github.com/nodeca/probe-image-size",
          "vendor": "nodeca",
          "versions": [
            {
              "lessThan": "7.5.0",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Zachariah Mithani (AploSec)"
        }
      ],
      "datePublic": "2026-10-26T22:45:13.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "probe-image-size before 7.5.0 contains an algorithmic-complexity denial of service vulnerability in lib/exif_utils.js that allows remote unauthenticated attackers to exhaust CPU by supplying self-referencing EXIF IFDs. Attackers can submit a crafted 9.6 KB JPEG with repeated ExifIFD and InteropIFD pointers to block the Node.js event loop for about 23 seconds."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "HIGH",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE"
          },
          "format": "CVSS"
        },
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "format": "CVSS"
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-407",
              "description": "Inefficient Algorithmic Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-20T22:30:42.184Z",
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck"
      },
      "references": [
        {
          "name": "GitHub Security Advisory (GHSA-gvwc-5hr5-44p8)",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://github.com/nodeca/probe-image-size/security/advisories/GHSA-gvwc-5hr5-44p8"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/nodeca/probe-image-size/commit/d91678eaff2aad93f7b05bc5212b75856164ec7a"
        },
        {
          "tags": [
            "technical-description"
          ],
          "url": "https://github.com/nodeca/probe-image-size/blob/64565c3c8b4b69655426cdfce250e6a93455c9da/lib/exif_utils.js#L210-L216"
        },
        {
          "tags": [
            "product"
          ],
          "url": "https://www.npmjs.com/package/probe-image-size/v/7.5.0"
        },
        {
          "name": "VulnCheck Advisory: probe-image-size before 7.5.0 Denial of Service via EXIF Sub-IFD Traversal",
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://www.vulncheck.com/advisories/probe-image-size-before-7.5.0-denial-of-service-via-exif-sub-ifd-traversal"
        }
      ],
      "title": "probe-image-size before 7.5.0 Denial of Service via EXIF Sub-IFD Traversal",
      "x_generator": {
        "engine": "vulncheck-endgame"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "cveId": "CVE-2026-134164",
    "datePublished": "2026-11-20T22:30:42.184Z",
    "dateReserved": "2026-11-20T22:01:20.467Z",
    "dateUpdated": "2026-11-23T20:11:08.742Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-134129 (GCVE-0-2026-134129)

Vulnerability from cvelistv5 – Published: 2026-11-27 18:30 – Updated: 2026-11-30 17:36 X_Open Source
VLAI
Title
smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent()
Summary
smalot/pdfparser before 2.14.0 contains an inefficient algorithmic complexity vulnerability that allows remote attackers to cause a denial of service by submitting a crafted PDF with deeply nested unbalanced parentheses in a content-stream string. Attackers can exploit the regex-based string isolation loop in PDFObject::formatContent(), which rescans growing content on each pass to produce O(n^2) processing time, causing a small PDF to stall or exhaust PHP worker resources for seconds to minutes.
SSVC
Exploitation: poc Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-30 17:12 UTC
CWE
  • CWE-407 - Inefficient Algorithmic Complexity
Assigner
VulnCheck CNA under the mitre root
CNA scorecard B 84/100 over 10107 records in the last 180 days details
References
Impacted products
Vendor Product Version
smalot pdfparser Affected: 0 , < 2.14.0 (semver)
Create a notification for this product.
Date Public
2026-11-27 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-134129",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-30T17:12:14.435944Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-30T17:36:10.966Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:composer/smalot/pdfparser",
          "product": "pdfparser",
          "repo": "https://github.com/smalot/pdfparser",
          "vendor": "smalot",
          "versions": [
            {
              "lessThan": "2.14.0",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Muhammadyusuf Dilmurodov (agrresore)"
        }
      ],
      "datePublic": "2026-11-27T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "smalot/pdfparser before 2.14.0 contains an inefficient algorithmic complexity vulnerability that allows remote attackers to cause a denial of service by submitting a crafted PDF with deeply nested unbalanced parentheses in a content-stream string. Attackers can exploit the regex-based string isolation loop in PDFObject::formatContent(), which rescans growing content on each pass to produce O(n^2) processing time, causing a small PDF to stall or exhaust PHP worker resources for seconds to minutes."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "NONE",
            "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:N/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"
            }
          ]
        },
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-407",
              "description": "Inefficient Algorithmic Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-28T15:39:52.854Z",
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck"
      },
      "references": [
        {
          "name": "pdfparser v2.14.0 Release Notes",
          "tags": [
            "patch",
            "release-notes"
          ],
          "url": "https://github.com/smalot/pdfparser/releases/tag/v2.14.0"
        },
        {
          "name": "GitHub Security Advisory (GHSA-4w9h-57gf-h3px)",
          "tags": [
            "vendor-advisory",
            "exploit",
            "technical-description"
          ],
          "url": "https://github.com/smalot/pdfparser/security/advisories/GHSA-4w9h-57gf-h3px"
        },
        {
          "name": "Fix Commit",
          "tags": [
            "issue-tracking",
            "patch"
          ],
          "url": "https://github.com/smalot/pdfparser/commit/7bc5b066b32d1d749a64f9bdfa8bbc60c6990a38"
        },
        {
          "name": "VulnCheck Advisory: smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent()",
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://www.vulncheck.com/advisories/smalot-pdfparser-before-2.14.0-quadratic-time-dos-via-formatcontent"
        }
      ],
      "tags": [
        "x_open-source"
      ],
      "title": "smalot/pdfparser before 2.14.0 Quadratic-Time DoS via formatContent()",
      "x_generator": {
        "engine": "vulncheck"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "cveId": "CVE-2026-134129",
    "datePublished": "2026-11-27T18:30:21.914Z",
    "dateReserved": "2026-11-20T21:04:59.384Z",
    "dateUpdated": "2026-11-30T17:36:10.966Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

CVE-2026-133760 (GCVE-0-2026-133760)

Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 20:00
VLAI
Title
Nested Short Ternaries Make the Nesting Check of the Expression Parser Exponential, Letting Untrusted Expressions Hang It
Summary
The fix for CVE-2026-109449 made the expression parser check the nesting level of long expressions. This check exists since Symfony 5.4.54, 6.4.48, 7.4.21 and 8.1.9. The parser builds a ?: b with the node of a used twice, and the check walked every path to every node. With nested short ternaries, the number of paths doubles at each level, so an expression of 256 bytes never finished parsing. The expression needs no variable and no function. Any code that parses or lints untrusted expressions is affected, including the ExpressionSyntax validation constraint. evaluate() and compile() parse the expression first, so they hang too. The nesting check now skips the nodes it already checked, so it takes linear time again. evaluate(), compile() and the messages of runtime errors now use the node of a once, so a is evaluated once, as in PHP.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-25 19:51 UTC
CWE
  • CWE-407 - Inefficient Algorithmic Complexity
Assigner
Symfony CNA
CNA scorecard B 83/100 over 46 records in the last 180 days details
Impacted products
Vendor Product Version
Symfony symfony/expression-language Affected: 5.4.54 , < 5.4.57 (semver)
Affected: 6.4.48 , < 6.4.51 (semver)
Affected: 7.4.21 , < 7.4.24 (semver)
Affected: 8.1.9 , < 8.1.12 (semver)
Create a notification for this product.
Symfony symfony/symfony Affected: 5.4.54 , < 5.4.57 (semver)
Affected: 6.4.48 , < 6.4.51 (semver)
Affected: 7.4.21 , < 7.4.24 (semver)
Affected: 8.1.9 , < 8.1.12 (semver)
Create a notification for this product.
Date Public
2026-11-25 09:36
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-133760",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-25T19:51:43.629527Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-25T20:00:41.304Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/expression-language",
          "product": "symfony/expression-language",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "5.4.57",
              "status": "affected",
              "version": "5.4.54",
              "versionType": "semver"
            },
            {
              "lessThan": "6.4.51",
              "status": "affected",
              "version": "6.4.48",
              "versionType": "semver"
            },
            {
              "lessThan": "7.4.24",
              "status": "affected",
              "version": "7.4.21",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.12",
              "status": "affected",
              "version": "8.1.9",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/symfony",
          "product": "symfony/symfony",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "5.4.57",
              "status": "affected",
              "version": "5.4.54",
              "versionType": "semver"
            },
            {
              "lessThan": "6.4.51",
              "status": "affected",
              "version": "6.4.48",
              "versionType": "semver"
            },
            {
              "lessThan": "7.4.24",
              "status": "affected",
              "version": "7.4.21",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.12",
              "status": "affected",
              "version": "8.1.9",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Jack Worman"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Nicolas Grekas"
        }
      ],
      "datePublic": "2026-11-25T09:36:37.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/markdown",
              "value": "The fix for CVE-2026-109449 made the expression parser check the nesting level of long expressions. This check exists since Symfony 5.4.54, 6.4.48, 7.4.21 and 8.1.9. The parser builds `a ?: b` with the node of `a` used twice, and the check walked every path to every node. With nested short ternaries, the number of paths doubles at each level, so an expression of 256 bytes never finished parsing.\n\nThe expression needs no variable and no function. Any code that parses or lints untrusted expressions is affected, including the `ExpressionSyntax` validation constraint. `evaluate()` and `compile()` parse the expression first, so they hang too.\n\nThe nesting check now skips the nodes it already checked, so it takes linear time again. `evaluate()`, `compile()` and the messages of runtime errors now use the node of `a` once, so `a` is evaluated once, as in PHP."
            }
          ],
          "value": "The fix for CVE-2026-109449 made the expression parser check the nesting level of long expressions. This check exists since Symfony 5.4.54, 6.4.48, 7.4.21 and 8.1.9. The parser builds a ?: b with the node of a used twice, and the check walked every path to every node. With nested short ternaries, the number of paths doubles at each level, so an expression of 256 bytes never finished parsing.\n\nThe expression needs no variable and no function. Any code that parses or lints untrusted expressions is affected, including the ExpressionSyntax validation constraint. evaluate() and compile() parse the expression first, so they hang too.\n\nThe nesting check now skips the nodes it already checked, so it takes linear time again. evaluate(), compile() and the messages of runtime errors now use the node of a once, so a is evaluated once, as in PHP."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
            "version": "4.0"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-407",
              "description": "CWE-407 Inefficient Algorithmic Complexity",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-25T10:00:19.208Z",
        "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "shortName": "Symfony"
      },
      "references": [
        {
          "name": "CVE-2026-133760",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://symfony.com/cve-2026-133760"
        },
        {
          "name": "GHSA-fvvg-g68p-p6q9",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://github.com/symfony/symfony/security/advisories/GHSA-fvvg-g68p-p6q9"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/symfony/symfony/commit/58e9014c1fd91438e29b92dd67ecf1725faac29b"
        }
      ],
      "source": {
        "advisory": "GHSA-fvvg-g68p-p6q9",
        "discovery": "UNKNOWN"
      },
      "title": "Nested Short Ternaries Make the Nesting Check of the Expression Parser Exponential, Letting Untrusted Expressions Hang It",
      "x_generator": {
        "engine": "symfony/ghsa-to-cve"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
    "assignerShortName": "Symfony",
    "cveId": "CVE-2026-133760",
    "datePublished": "2026-11-25T10:00:19.208Z",
    "dateReserved": "2026-11-20T14:01:43.158Z",
    "dateUpdated": "2026-11-25T20:00:41.304Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}

No mitigation information available for this CWE.

No CAPEC attack patterns related to this CWE.