Skip to content
OpenAdvisories

Weakness (CWE)

CWE-407: Inefficient Algorithmic Complexity

Class 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.

Source: MITRE CWE-407

17 results · Clear filters · Feed

  • Low 3.7

    fast-xml-parser: Quadratic CPU consumption scanning unterminated stop-node tags

    fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to 5.12.0, when the non-default stopNodes option is enabled, readStopNodeData() in OrderedObjParser.js calls readTagExp() for each less-than character…

  • Low 2.5

    fzf 0.36.0 through 0.74.5 Denial of Service via maskActionContents

    fzf 0.36.0 through 0.74.5 contains an inefficient algorithmic complexity vulnerability in maskActionContents that allows local attackers to exhaust the --listen HTTP server through quadratic string concatenation. Attackers can repeatedly send POST bodies of a…

  • Low 3.7

    markdown-it: Quadratic-time denial of service in inline HTML parsing with html enabled

    markdown-it is a Markdown parser. Prior to 14.3.3 and 15.0.3, when the html option or commonmark preset is enabled and the constructs occur inside a paragraph, attacker-controlled Markdown containing repeated unterminated inline HTML comments, processing inst…

  • Low 3.7

    NanoMQ: O(N²) Denial of Service in MQTT v5 Property Parsing

    NanoMQ is an MQTT broker. Prior to 0.24.14, NanoMQ's MQTT v5 property decoder in nng/src/supplemental/mqtt/mqtt_codec.c uses property_append() to walk the entire linked list for each property added by decode_buf_properties(). A remote unauthenticated client c…

  • Low 2.1

    Algorithmic-complexity denial of service in AshPaperTrail full-diff list tracking

    Inefficient Algorithmic Complexity vulnerability in ash-project ash_paper_trail allows a user who can submit a large array attribute to a paper-trailed create or update action to cause a denial of service through excessive CPU and memory use. With full-diff c…

  • Low 3.7

    NLTK before 3.10.3 Quadratic CPU Exhaustion via XMLCorpusView

    NLTK versions before 3.10.3 contain a quadratic CPU exhaustion vulnerability in XMLCorpusView._read_xml_fragment() that rescans accumulated XML fragments on every 1 KiB block read. Attackers can provide malformed XML corpus files to cause severe CPU consumpti…

  • Low 2.0

    Quadratic Behavior in xml.etree.ElementPath Index Predicates

    `Element.findall()` and fully-consumed `Element.iterfind()` exhibit `O(n^2)` time complexity when using XPath index predicates (e.g. `[1]`, `[last()]`, `[last()-N]`) on XML documents with many same-tag siblings. `Element.find()` is only affected when the firs…

  • Low 3.3

    bytedance InfiniStore KV Map infinistore.h purge_kv_map algorithmic complexity

    A vulnerability was found in bytedance InfiniStore up to 0.2.33. The impacted element is the function purge_kv_map in the library /src/infinistore.h of the component KV Map Handler. Performing a manipulation results in inefficient algorithmic complexity. The …

  • Low 2.9

    In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service vi…

  • Low 2.3

    net-imap: Quadratic complexity when reading response literals

    Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.4.24, 0.5.14, and 0.6.4, Net::IMAP::ResponseReader has quadratic time complexity when reading large responses containing many string literals. A hos…

  • Low 3.3
    CVE-2026-6042 Public exploit

    musl libc GB18030 4-byte Decoder iconv.c iconv algorithmic complexity

    A security flaw has been discovered in musl libc up to 1.2.6. Affected is the function iconv of the file src/locale/iconv.c of the component GB18030 4-byte Decoder. Performing a manipulation results in inefficient algorithmic complexity. The attack must be in…

  • Low 3.1

    DoS from quadratic complexity in model.ParseHashtags

    Mattermost versions 10.11.x <= 10.11.8 fail to validate input size before processing hashtags which allows an authenticated attacker to exhaust CPU resources via a single HTTP request containing a post with thousands space-separated tokens

  • Low 2.9

    In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing…

  • Low 1.8

    Exiv2 has quadratic performance in ICC profile parsing in JpegBase::readMetadata

    Exiv2 is a C++ library and a command-line utility to read, write, delete and modify Exif, IPTC, XMP and ICC image metadata. A denial-of-service was found in Exiv2 version 0.28.5: a quadratic algorithm in the ICC profile parsing code in jpegBase::readMetadata(…

  • Low 2.9

    mystrtod in mjson 1.2.7 requires more than a billion iterations during processing of certain digit strings such as 8891…

  • Low 3.5

    cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service

    cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. Versions prior to 0.29.0.gfm.7 contain a polynomial time complexity issue in handle_close_bracket that may lead to unbounded resource exhaustion and subsequent d…

  • Low 3.5

    Inefficient Quadratic complexity bug in handle_pointy_brace may lead to a denial of service

    cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. Versions prior to 0.29.0.gfm.7 are subject to a polynomial time complexity issue in cmark-gfm that may lead to unbounded resource exhaustion and subsequent denia…