Skip to main content

Inefficient Algorithmic Complexity

CVE-2026-92091

Severity Medium
Score 5.9/10

Summary

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 can supply a JWK with a large `key_ops` array to an application that passes attacker-controlled key material to a public key-import API (reachable via ECDH-ES key agreement, OIDC dynamic client registration, DPoP, or ACME account key registration, among others) to consume excessive CPU time, resulting in a denial of service. This issue affects jwcrypto versions prior to 1.6.1.

  • HIGH
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

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.

References

Advisory Timeline

  • Published