ADVISORIES

Vulnerability

CVE-2024-28102

JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to version 1.5.6, an attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time. Version 1.5.6 fixes this vulnerability by limiting the maximum token length.

22 advisories report this vulnerability, across 13 ecosystems.

Advisories in PyPI

  • GHSA-j857-7rvv-vj97

    JWCrypto vulnerable to JWT bomb Attack in `deserialize` function

    Moderate CVE-2024-28102 PyPI Updated 10 September 2026
  • PYSEC-2026-1484

    JWCrypto vulnerable to JWT bomb Attack in `deserialize` function

    CVE-2024-28102 PyPI Updated 7 July 2026

References