Skip to content
OpenAdvisories

Description

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Ansible Automation Platform 2 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat OpenShift AI (RHOAI) — —
Red Hat Red Hat OpenStack Platform 16.2 — —
Red Hat Red Hat OpenStack Platform 17.1 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-jwcrypto No fix yet —
Debian 13 python-jwcrypto No fix yet —
Debian 12 python-jwcrypto No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-jwcrypto No fix yet —
Ubuntu 26.04 LTS python-jwcrypto No fix yet —
Ubuntu 24.04 LTS python-jwcrypto No fix yet —
Ubuntu 22.04 LTS python-jwcrypto No fix yet —
Ubuntu 20.04 LTS python-jwcrypto No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS python-jwcrypto No fix yet —
Ubuntu 16.04 LTS python-jwcrypto No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-jwcrypto 1.5.6-160000.5.1 SUSE-SU-2026:24218-1
SLES 16.0 python-jwcrypto 1.5.6-160000.5.1 SUSE-SU-2026:24218-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-jwcrypto 1.6.1-1.1 openSUSE-SU-2026:11972-1
openSUSE Leap 16.0 python-jwcrypto 1.5.6-160000.5.1 openSUSE-SU-2026:22073-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 python3-jwcrypto 1.4.2-46.amzn2023.0.2 ALAS2023-2026-3158
Amazon Linux 2 python-jwcrypto 0.4.2-1.amzn2.0.4 ALAS2-2026-3968

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-jwcrypto No fix yet —

Advisories 6

References