CWE-407— Inefficient Algorithmic Complexity
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.— MITRE CWE catalog
353 active CVEs classified under this weakness category. Sourced from NVD, GHSA, and vendor advisories. Full definition on MITRE →
CVEs classified under CWE-407page 6 of 8
- CVE-2026-133428MEDIUMCVSS 6.3EG 6.32026-11-20
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…
- CVE-2026-126192MEDIUMCVSS 6.3EG 6.32026-11-12
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…
- CVE-2026-82729MEDIUMCVSS 6.3EG 6.32026-09-04
Inefficient Algorithmic Complexity vulnerability in elixir-mint mint allows a remote HTTP server to exhaust CPU on the client host and cause a denial of service. parse_hex_prefix/2 in lib/mint/http1/parse.ex folds each hex digit of a chun…
- CVE-2026-3276MEDIUMCVSS 6.3EG 6.32026-06-03
unicodedata.normalize() can take excessive CPU time when processing specially crafted Unicode input containing long runs of combining characters with alternating Canonical Combining Class values. This affects all normalization forms.
- CVE-2026-114129MEDIUMCVSS 6.2EG 6.22026-10-21
stream-json is a micro-library of stream components for processing JSON and JSONC with a minimal memory footprint. From 2.0.0 until 3.7.0, FlexAssembler compiles string and regular-expression path filters into matchers that join the full k…
- CVE-2026-104182MEDIUMCVSS 6.2EG 6.22026-10-01
stream-json is a micro-library of stream components for processing JSON and JSONC with a minimal memory footprint. Prior to 3.6.0, the JSONC parser at stream-json/jsonc/parser.js and verifier at stream-json/jsonc/verifier.js restart commen…
- CVE-2026-71429MEDIUMCVSS 6.2EG 6.22026-09-03
stream-json is a micro-library of stream components for processing JSON and JSONC with a minimal memory footprint. Prior to 3.5.0, the path filters pick, ignore, filter, and replace in src/core/filters/filter-base.js recompute the full pat…
- CVE-2026-8594MEDIUMCVSS 6.2EG 6.22026-05-30
Text::LineFold versions through 2019.001 for Perl duplicate the output based on the number of special break characters. Text::LineFold splits the input string by specific line break characters (such as VT, FF and others) into segments, bu…
- CVE-2026-126351MEDIUMCVSS 5.9EG 5.92026-11-12
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 …
- CVE-2026-102461MEDIUMCVSS 5.9EG 5.92026-10-15
In Eclipse Vert.x versions [4.0.0, 4.5.34] or [5.0.0,5.0.12] or [5.1.0,5.1.9] or [5.2.0, 5.2.0], the uniqueItems keyword validation uses an O(n²) pairwise comparison loop with no short-circuit or size limit. A remote unauthenticated attac…
- CVE-2026-70196MEDIUMCVSS 5.9EG 5.92026-10-13
Inefficient algorithmic complexity in ASP.NET Core allows an unauthorized attacker to deny service over a network.
- CVE-2026-107297MEDIUMCVSS 5.9EG 5.92026-10-08
msgpack5 is a msgpack v5 implementation for node.js and the browser. Prior to 6.1.0, the streaming decoder reparses an incomplete array or map from the beginning whenever another chunk arrives. A remote peer can split one valid MessagePack…
- CVE-2026-104844MEDIUMCVSS 5.9EG 5.92026-10-02
PostCSS Selector Parser is a CSS selector parser that integrates with PostCSS but does not require it. Prior to 7.1.6, src/parser.js splitWord() can receive a flat selector as one word token carrying many class or ID indexes because period…
- CVE-2026-104426MEDIUMCVSS 5.9EG 5.92026-10-02
Zebra before 6.1.0 contains an inefficient algorithmic complexity vulnerability in remaining_transaction_value that clones the entire block-level spent-UTXO map per transaction during contextual verification. Attackers can mine or seed the…
- CVE-2026-92091MEDIUMCVSS 5.9EG 5.92026-09-16
A flaw was found in jwcrypto. The JWK.import_key() function validates the key_ops JWK member for duplicate values using an algorithm with O(n^2) time complexity, and the length of key_ops is not bounded. A remote, unauthenticated attacker …
- CVE-2026-84378MEDIUMCVSS 5.9EG 5.92026-09-02
HTTPX2 is a next generation HTTP client for Python. From 2.5.0 until 2.10.0, the HTTPX2 Server-Sent Events parser in src/httpx2/httpx2/_sse.py repeatedly copies and rescans buffered text in _SSELineDecoder.decode() when an attacker-control…
- CVE-2026-76401MEDIUMCVSS 5.9EG 5.92026-08-19
In Splunk Connect for Kafka versions below 2.2.7, an unauthenticated user who can reach the Kafka Connect Representational State Transfer (REST) API could configure timestamp extraction with a crafted regular expression and matching event …
- CVE-2026-56860MEDIUMCVSS 5.9EG 5.92026-08-13
Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer rewrites on each step, resulting in quadratic time complexity and high memory allocation overhead. Now, path resolutio…
- CVE-2024-39702MEDIUMCVSS 5.9EG 5.92024-07-23
In lj_str_hash.c in OpenResty 1.19.3.1 through 1.25.3.1, the string hashing function (used during string interning) allows HashDoS (Hash Denial of Service) attacks. An attacker could cause excessive resource usage during proxy operations v…
- CVE-2025-30348MEDIUMCVSS 5.8EG 5.82025-03-21
encodeText in QDom in Qt before 6.8.0 has a complex algorithm involving XML string copy and inline replacement of parts of a string (with relocation of later data).
- CVE-2024-29916MEDIUMCVSS 5.6EG 5.62024-03-21
The dormakaba Saflok system before the November 2023 software update allows an attacker to unlock arbitrary doors at a property via forged keycards, if the attacker has obtained one active or expired keycard for the specific property, aka …
- CVE-2026-130462MEDIUMCVSS 5.5EG 5.52026-11-20
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
- CVE-2026-110270MEDIUMCVSS 5.5EG 5.52026-10-14
OW2 ASM 3.0 before 9.11 contains an uncontrolled memory allocation vulnerability in the asm-commons JSRInlinerAdapter that inlines JSR/RET subroutines without memory or work limits. Attackers can supply a crafted class file with nested sub…
- CVE-2026-110261MEDIUMCVSS 5.5EG 5.52026-10-14
OW2 ASM 3.0 before 9.11 contains a denial of service vulnerability that allows attackers to exhaust CPU by supplying crafted class files processed with ClassWriter.COMPUTE_FRAMES. Attackers can craft methods that make the unbounded MethodW…
- CVE-2026-110260MEDIUMCVSS 5.5EG 5.52026-10-14
OW2 ASM 3.0 before 9.11 contains a quadratic memory allocation vulnerability in MethodWriter.computeMaxStackAndLocal() and computeAllFrames() when using COMPUTE_MAXS or COMPUTE_FRAMES. Attackers can supply a crafted class file with thousan…
- CVE-2025-66382MEDIUMCVSS 5.5EG 5.52025-11-28
In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing time.
- CVE-2025-55304MEDIUMCVSS 5.5EG 5.52025-08-29
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 jpe…
- CVE-2022-36021MEDIUMCVSS 5.5EG 5.52023-03-01
Redis is an in-memory database that persists on disk. Authenticated users can use string matching commands (like `SCAN` or `KEYS`) with a specially crafted pattern to trigger a denial-of-service attack on Redis, causing it to hang and cons…
- CVE-2026-135908MEDIUMCVSS 5.3EG 5.32026-11-24
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…
- CVE-2026-132277MEDIUMCVSS 5.3EG 5.32026-11-20
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/…
- CVE-2026-129231MEDIUMCVSS 5.3EG 5.32026-11-19
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…
- CVE-2026-129232MEDIUMCVSS 5.3EG 5.32026-11-19
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…
- CVE-2026-77336MEDIUMCVSS 5.3EG 5.32026-11-19
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…
- CVE-2026-129307MEDIUMCVSS 5.3EG 5.32026-11-16
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…
- CVE-2026-126300MEDIUMCVSS 5.3EG 5.32026-11-13
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 …
- CVE-2026-126301MEDIUMCVSS 5.3EG 5.32026-11-13
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 …
- CVE-2026-128237MEDIUMCVSS 5.3EG 5.32026-11-13
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…
- CVE-2026-126189MEDIUMCVSS 5.3EG 5.32026-11-12
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(>…
- CVE-2026-124016MEDIUMCVSS 5.3EG 5.32026-11-10
postal-mime before 4.2.1 contains an algorithmic complexity denial of service vulnerability that allows unauthenticated remote attackers to cause excessive CPU consumption in the PostalMime.processLine() function by crafting deeply nested …
- CVE-2026-120796MEDIUMCVSS 5.3EG 5.32026-11-10
Inefficient algorithmic complexity in .NET allows an unauthorized attacker to deny service over a network.
- CVE-2026-116577MEDIUMCVSS 5.3EG 5.32026-10-26
Tornado is a Python web framework and asynchronous networking library. Prior to 6.6, Tornado's HTTP header parser accepts obsolete line folding and repeatedly concatenates short continuation lines, causing quadratic CPU consumption on the …
- CVE-2026-107575MEDIUMCVSS 5.3EG 5.32026-10-08
Inefficient algorithmic complexity in the SPF macro expansion of Progressive Robot hMailServer 6.3.4 and 6.3.5 allows a remote unauthenticated attacker to consume worker-thread time by publishing a crafted SPF record. RFC 7208 section 7.1 …
- CVE-2026-84429MEDIUMCVSS 5.3EG 5.32026-10-06
An issue was discovered in Django 6.1 before 6.1.2, 6.0 before 6.0.9, and 5.2 before 5.2.18. `django.utils.http.parse_header_parameters()` was subject to a potential denial-of-service attack due to quadratic time complexity when parsing a …
- CVE-2026-42772MEDIUMCVSS 5.3EG 5.32026-09-29
Issue summary: The QUIC stream reassembly algorithm performance deteriorates progressively as packets are arriving out of order. The worst case has a quadratic complexity proportional to the number of stream frames kept in the buffer for t…
- CVE-2026-102277MEDIUMCVSS 5.3EG 5.32026-09-28
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns with many trailing closing braces by res…
- CVE-2026-19668MEDIUMCVSS 5.3EG 5.32026-09-16
A BIND recursive resolver may experience excessive resource consumption if it encounters large numbers of a particular kind of invalid DNSSEC record. Default limits on "max-records-per-type" and "max-types-per-name" help mitigate the expo…
- CVE-2026-82398MEDIUMCVSS 5.3EG 5.32026-08-31
pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without w…
- CVE-2026-77680MEDIUMCVSS 5.3EG 5.32026-08-25
An algorithmic complexity flaw exists in libsoup's HTTP Range header processing that persists after the CVE-2025-32907 fix. CVE-2025-32907 addressed memory amplification when a client repeated the same range many times in a single Range h…
- CVE-2026-71848MEDIUMCVSS 5.3EG 5.32026-08-07
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.12.0 to 4.12.33, the languageDetector middleware is vulnerable to algorithmic complexity denial of service when processing a crafted language tag …
- CVE-2026-64644MEDIUMCVSS 5.3EG 5.32026-07-22
Next.js is a React framework for building full-stack web applications. In versions 15.5.0 through 15.5.20 and 16.0.0 through 16.2.10, when self-hosting Next.js with the default image loader, the Image Optimization API can optimize remotely…
Map vulnerabilities like CWE-407 to your infrastructure
EchelonGraph correlates every CVE — across CWE-407 and 150+ other weakness categories — against the assets you actually run. See blast radius, fix versions, and remediation steps in one graph.
Book a Demo →