Fedora Account System
Red Hat Associate
Red Hat Customer
The compact JWE fallback in JWE.deserialize() splits attacker-controlled token text on every period delimiter before checking that the compact serialization has the required five segments. A malformed token containing millions of periods can therefore force a large delimiter-derived list allocation and raise MemoryError before jwcrypto reaches its normal malformed-token rejection, which can degrade availability for services that parse untrusted JWE values.
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