Bug 2533849 (CVE-2026-92091) - CVE-2026-92091 jwcrypto: jwcrypto: denial of service via O(n^2) duplicate check on unbounded JWK key_ops array
Summary: CVE-2026-92091 jwcrypto: jwcrypto: denial of service via O(n^2) duplicate che...
Keywords:
Status: NEW
Alias: CVE-2026-92091
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2535012 2558299 2558300
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-15 14:37 UTC by OSIDB Bzimport
Modified: 2026-11-11 03:56 UTC (History)
24 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:97858 0 None None None 2026-11-10 22:13:21 UTC
Red Hat Product Errata RHSA-2026:98061 0 None None None 2026-11-11 03:56:23 UTC

Description OSIDB Bzimport 2026-09-15 14:37:36 UTC
A flaw was found in jwcrypto. JWK.import_key() validates the key_ops JWK member for duplicate values using a nested loop that rescans the entire list for every element, resulting in O(n^2) time complexity relative to the length of key_ops. The key_ops array has no size limit and is fully attacker-controlled when an application passes attacker-supplied JWK material into this API. A remote, unauthenticated attacker can trigger this by supplying a JWK such as {\"kty\":\"oct\",\"k\":\"AAAA\",\"key_ops\":[...]} containing a large key_ops array (e.g. 50,000 distinct strings, ~526 KB) to any application code path that imports an attacker-supplied JWK or JWK Set, including ECDH-ES key agreement (the epk header is processed before other token validation), OIDC dynamic client registration, DPoP proof validation, ACME account key registration, or relying parties importing a federated JWKS. Per the finder's measurements (not independently reproduced by Red Hat), a single such request consumes approximately 108 seconds of CPU time on one core, and a small number of concurrent requests can exhaust a server's processing capacity, resulting in denial of service. This does not affect deployments that only import JWKs from trusted, fixed issuer endpoints.

Comment 2 errata-xmlrpc 2026-11-10 22:13:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:97858 https://access.redhat.com/errata/RHSA-2026:97858

Comment 3 errata-xmlrpc 2026-11-11 03:56:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98061 https://access.redhat.com/errata/RHSA-2026:98061


Note You need to log in before you can comment on or make changes to this bug.