python-jose through 3.3.0 allows attackers to cause a denial of service (resource consumption) during a decode via a crafted JSON Web Encryption (JWE) token with a high compression ratio, aka a "JWT bomb." This is similar to CVE-2024-21319.
https://www.vicarius.io/vsociety/posts/jwt-bomb-in-python-jose-cve-2024-33664