cve.bz

CWE-407: Inefficient Algorithmic Complexity

Filter

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.

What the weakness is: CWE-407 at MITRE. All weaknesses

Ask an AI about CWE-407

Show the promptExplain CWE-407: Inefficient Algorithmic Complexity and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/407.html and https://cve.bz/cve/cwe/407?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 8.7CVE-2026-134791symfony

    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 …

  2. 8.7CVE-2026-133760symfony

    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 wal…

  3. 6.3CVE-2026-133744symfony

    The fixes for CVE-2026-135804 (GHSA-cpww-5vpx-72x7) bound the regex work of a JsonCrawler::find() call, and evaluate filters and absolute queries once per call. Chained recursive descent isn't bounded. Each ..* segment takes the descendant…

  4. 6.9CVE-2026-129395joomla! project

    Joomla! Core - [20261158] - Core - DoS in InputFilter tag cleaning in Joomla 1.5.0-5.4.10, 6.0.0-6.2.0 - Inefficient handling of unterminated tags in the tag cleaning of the input filter leads to a quadratic runtime, allowing denial of ser…

  5. 5.1CVE-2026-129376joomla! project joomla! cms

    Joomla! Core - [20261139] - Core - DoS in email cloaking plugin in Joomla 1.6.0-5.4.10, 6.0.0-6.2.0 - Inefficient processing of email links in the email cloaking plugin can lead to excessive CPU usage when rendering content.

  6. 5.1CVE-2026-129375joomla! project joomla! cms

    Joomla! Core - [20261138] - Core - DoS in InputFilter email punycode conversion in Joomla 3.5.0-5.4.10, 6.0.0-6.2.0 - Inefficient processing of email addresses in the text filter can lead to excessive CPU usage.

  7. 6.9CVE-2026-129369joomla! project joomla! cms

    Joomla! Core - [20261132] - Core - DoS in com_finder search query in Joomla 2.5.0-5.4.10, 6.0.0-6.2.0 - Inefficient processing of repeated search terms in the smart search query parser can exhaust the available memory.

  8. 5.3CVE-2026-135908rapid7 metasploit framework

    Rapid7 Metasploit Framework versions prior to 6.5.10 are vulnerable to an uncontrolled resource consumption issue in Rex::Proto::Http::Request#normalize!. A remote, unauthenticated attacker can send an HTTP request with a deeply nested pat…

  9. –CVE-2026-135804symfonyEPSS 0.2%

    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 posi…

  10. 8.2CVE-2026-130165reactEPSS 0.6%

    React is a JavaScript library for building user interfaces. In versions prior to 19.0.9, 19.1.10, 19.2.9 and 19.3.1, react-server-dom-webpack, react-server-dom-parcel, and react-server-dom-turbopack are vulnerable to denial of service. Spe…

  11. 8.7CVE-2026-134812kriszyp msgpackrEPSS 0.8%

    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 smal…

  12. 8.7CVE-2026-134366py-pdf pypdfEPSS 0.5%

    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…

  13. 8.7CVE-2026-134164nodeca probe-image-sizeEPSS 1.0%

    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…

  14. 5.3CVE-2026-132277weblyzard inscriptisEPSS 0.9%

    Inscriptis is a Python library for converting HTML to text. From 2.0.0 until 2.7.6, when the parent is block-level, table_end_handler() in model/tag/table_tag.py writes each sibling table through HtmlElement.write_verbatim_text() in model/…

  15. 4.7CVE-2026-130465wireshark foundation wiresharkEPSS 0.2%

    Ascend file parser large loop in 4.6.0 to 4.6.9 and 4.4.0 to 4.4.19 allows denial of service

  16. 5.5CVE-2026-130462wireshark foundation wiresharkEPSS 0.2%

    Multiple protocol dissector and file parser hangs in 4.6.0 to 4.6.9 and 4.4.0 to 4.4.19 allows denial of service

  17. 4.7CVE-2026-130459wireshark foundation wiresharkEPSS 0.2%

    Tektronix K12xx file parser large loop in 4.6.0 to 4.6.9 and 4.4.0 to 4.4.19 allows denial of service

  18. 6.3CVE-2026-133428pydanticEPSS 0.9%

    Validating an untrusted URL with a long scheme and many hosts into a multi-host URL field (e.g. PostgresDsn) takes quadratic time and memory: an input of about a hundred kilobytes takes around a gigabyte of memory to validate. The parse_m…

  19. 6.9CVE-2026-133422pydanticEPSS 0.8%

    Validating an untrusted list into a field constrained with unique_items=True with Pydantic V1 takes quadratic time: an input of a few hundred kilobytes takes seconds to validate. The ConstrainedList.unique_items_validator validator (in py…

  20. 7.5CVE-2026-131877EPSS 0.5%

    Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unbounded arc length in OBJECT IDENTIFIER decoding and encoding. The content of an OBJECT IDENTIFIER or RELATIVE-OID element is passed to unpack "w*" on decode, and the …

  21. 7.5CVE-2026-126682EPSS 0.5%

    Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via exponent-notation string in INTEGER encoding. The encoder routes any value with abs >= 2**31 to i2osp without validating that it is an integer. A string in exponent nota…

  22. 7.5CVE-2026-126576EPSS 0.5%

    Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via unchecked exponent length in binary REAL decoding. Binary REAL decoding never bounds-checks the exponent length against the available content. For a minimal one-byte bin…

  23. 7.5CVE-2026-126540EPSS 0.5%

    Convert::ASN1 versions before 0.37 for Perl allow CPU exhaustion via quadratic bigint loop in os2ip. Every INTEGER or ENUMERATED longer than four content octets reaches os2ip, which iterates over each content octet with $result = ($result…

  24. 5.3CVE-2026-129231nltkEPSS 0.5%

    NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, SeekableUnicodeStreamReader.readline appends each new b…

  25. 7.5CVE-2026-128139nltkEPSS 0.5%

    NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.6 to 3.10.3, XMLCorpusView._read_xml_fragment accumulates 1 KiB b…

  26. 5.3CVE-2026-77336zeecka aperisolveEPSS 0.3%

    Aperi'Solve is an open-source steganalysis web platform. Prior to 3.4.2, an unauthenticated user can submit a PNG to POST /upload, which reaches aperisolve/utils/png.py through analyze_image, PCRTAnalyzer, PNG.repair(), and check_idat(). A…

  27. 5.3CVE-2026-129232nltkEPSS 0.5%

    NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, XMLCorpusView.read_block rebuilds the full root-to-node…

  28. 8.7CVE-2026-127960php group phpEPSS 0.4%

    Denial of service through folded HTTP response headers. The HTTP stream wrapper joins each continuation line of a folded response header to the accumulated value by allocating a new string and copying the whole value, so a response with m…

  29. 6.9CVE-2026-117678benoitc idnaEPSS 0.2%

    Inefficient Algorithmic Complexity vulnerability in benoitc idna allows an attacker who controls a hostname passed to the library to exhaust CPU via an over-long xn-- label. idna:ulabel/1 in src/idna.erl hands every ASCII label that starts…

  30. 7.5CVE-2026-121482opensslEPSS 0.4%

    Issue summary: Verifying a maliciously crafted CMS or PKCS#7 SignedData message with CRL checking enabled may consume excessive CPU time, growing with the square of the message size. Impact summary: An attacker who can submit a CMS or PKC…

  31. 7.5CVE-2026-102529mganss htmlsanitizerEPSS 0.3%

    HtmlSanitizer is a .NET library for cleaning HTML fragments and documents from constructs that can lead to XSS attacks. Prior to 9.0.967 and 9.1.968-beta, HtmlSanitizer CSS style-declaration sanitization can process an attacker-controlled …

  32. 7.5CVE-2026-97699lepture mistuneEPSS 0.5%

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.4, inline image parsing sends nested ![ openers through precedence_scan because the no_link_before and _label_contains_link linearization guards are gated by not …

  33. 7.5CVE-2026-97698lepture mistuneEPSS 0.5%

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.4, parse_link_href performs an unbounded parenthesis-balancing scan to the end of the document for each unmatched opening parenthesis reached through an empty [] …

  34. 5.3CVE-2026-129307govcert-lu eml parserEPSS 0.5%

    eml_parser serves as a python module for parsing eml files and returning various information found in the e-mail as well as computed information. In 3.0.3 and earlier, eml_parser.routing.parserouting() in eml_parser/routing.py builds a reg…

  35. 8.7CVE-2026-128131aiohttpEPSS 0.7%

    AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, aiohttp decompresses each member of a payload containing many concatenated gzip, deflate, or zstd streams by passing the entire remaining inpu…

  36. 8.7CVE-2026-128126aiohttpEPSS 0.7%

    AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, Request.post() does not limit the number of fields in a URL-encoded form body, and inserting many repeated keys into MultiDict takes quadratic…

  37. 7.5CVE-2026-128120sveltejs kitEPSS 0.3%

    SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. From version 2.42.0 until 3.1.1, applications using the experimental remote functions flag and a remote form function could perform quadratic…

  38. 6.9CVE-2026-128237secdev scapyEPSS 0.5%

    Scapy before 2.8.0 contains a denial of service vulnerability in BER_num_dec() and BERcodec_OID.do_dec() that allows remote attackers to exhaust CPU by supplying oversized OID arcs. Attackers can send ASN.1/BER data with many base-128 cont…

  39. 8.7CVE-2026-126401fleetdm fleetEPSS 0.4%

    Fleet before 4.86.2 contains a denial of service vulnerability that allows unauthenticated attackers to exhaust server memory through quadratic XML canonicalization of unsigned SAML responses. Attackers can send a single crafted SAML respo…

  40. 6.9CVE-2026-126301nltkEPSS 0.6%

    NLTK from 3.6 before 3.10.4 contains an algorithmic complexity vulnerability in LegalitySyllableTokenizer.tokenize that allows remote attackers to exhaust CPU by supplying long all-vowel tokens. Attackers can submit a token such as a long …

  41. 6.9CVE-2026-126300nltkEPSS 0.5%

    NLTK from 3.2.5 before 3.10.4 contains an algorithmic complexity vulnerability in TreebankWordTokenizer.span_tokenize that allows remote attackers to cause quadratic CPU consumption through repeated list.pop(0) calls. Attackers can submit …

  42. 5.9CVE-2026-126351sporkmonger addressableEPSS 0.4%

    Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. Prior to 2.9.1, Addressable::URI.normalize_path repeatedly scans and rewrites paths while removing only one nested dot segment …

  43. 6.3CVE-2026-126192facelessuser soupsieveEPSS 0.5%

    Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.10, matching a developer-authored selector that places the general sibling combinator inside :has() repeatedly scans each candidate element's follow…

  44. 7.5CVE-2026-126190facelessuser soupsieveEPSS 0.5%

    Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 4.0, Soup Sieve repeatedly walks the same ancestors while matching descendant combinators, and each additional descendant combinator raises the polyno…

  45. 5.3CVE-2026-126189facelessuser soupsieveEPSS 0.5%

    Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 4.0.1, Soup Sieve repeatedly searches descendant subtrees for each candidate evaluated by :has() and repeatedly reevaluates a parent containing :has(>…

  46. 8.7CVE-2026-127056mholt papaparseEPSS 0.7%

    PapaParse before 5.7.1 contains an inefficient algorithmic complexity vulnerability that allows remote unauthenticated attackers to cause denial of service by submitting delimiter-free quoted CSV input to Papa.parse(). Attackers can supply…

  47. 2.7CVE-2026-114369qt qt frameworkEPSS 0.3%

    Resource exhaustion vulnerability in the Qt Framework QWebSocket and QWebSocketServer classes of the Qt WebSockets module

  48. 7.5CVE-2026-126623progressive robot ltd hmailserverEPSS 0.6%

    Inefficient algorithmic complexity in the JSON reader of Progressive Robot hMailServer 6.3.6 and 6.3.7 allows a remote attacker to hold the server's mail delivery threads or its REST API's worker threads, making mail delivery, the REST API…

  49. 5.3CVE-2026-126565semanticmediawikiEPSS 0.5%

    Semantic MediaWiki 3.0.0 before 7.4.1 contains a denial of service vulnerability in the ElasticStore and SPARQLStore ConceptDescriptionInterpreter classes, which re-expand concepts without memoization or an expansion budget. Users with pag…

  50. 3.7CVE-2026-126066naturalintelligence fast-xml-parserEPSS 0.4%

    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…