Skip to content
OpenAdvisories

Description

A flaw was found in jwcrypto. A remote attacker can send a specially crafted JSON Web Encryption (JWE) token containing numerous period delimiters. This malformed token can force the JWE.deserialize() function to allocate excessive memory, leading to a MemoryError. This issue results in a denial of service (DoS) for services that process untrusted JWE values.

Affected products

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

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
RHEL 10 python-jwcrypto +1 1.6.1-1.el10_3 RHSA-2026:98061

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 python3-jwcrypto 1.6.1-1.el10_3 RLSA-2026:98061
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-jwcrypto 1.5.6-160000.4.1 SUSE-SU-2026:23722-1, SUSE-SU-2026:23702-1
SLES 16.0 python-jwcrypto 1.5.6-160000.4.1 SUSE-SU-2026:23722-1, SUSE-SU-2026:23702-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-jwcrypto 1.6.0-1.1 openSUSE-SU-2026:11712-1
openSUSE Leap 16.0 python-jwcrypto 1.5.6-160000.4.1 openSUSE-SU-2026:21827-1

Azure Linux

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

Advisories 6

References