Red Hat VEX
RHVEX-CVE-2026-39373
JWCrypto: python-cryptography: python: JWCrypto: Memory exhaustion via crafted compressed JWE tokens
Details
A flaw was found in JWCrypto, a Python library for JSON Web Key (JWK), JSON Web Signature (JWS), and JSON Web Encryption (JWE) specifications. An unauthenticated attacker can exploit this vulnerability by sending specially crafted JWE tokens that use ZIP compression. While the input token size is limited, the decompressed output size is not validated, allowing an attacker to cause excessive memory consumption. This can lead to memory exhaustion on affected systems, resulting in a Denial of Service (DoS).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | python-jwcrypto | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | python-jwcrypto | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | python3-jwcrypto | All versions, no fix (fix deferred) |