ADVISORIES

PyPA Advisory Database

PYSEC-2025-185

Details

In python-jose 3.3.0 (specifically jwe.decrypt), a vulnerability allows an attacker to cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. When this token is processed by the server, it results in significant memory allocation and processing time during decompression.

Affected packages

EcosystemPackageAffected versions
PyPIpython-jose
All versions up to and including 3.3.0

References