CVE-2026-39373
JWCrypto implements JWK, JWS, and JWE specifications using …
JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to 1.5.7, an unauthenticated attacker can exhaust server memory by sending crafted JWE tokens with ZIP compression. The existing patch for CVE-2024-28102 limits input token size to 250KB but does not validate the decompressed output size. An unauthenticated attacker can cause memory exhaustion on memory-constrained systems. A token under the 250KB input limit can decompress to approximately 100MB. This vulnerability is fixed in 1.5.7.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/latchset/jwcrypto/security/advisories/GHSA-fjrm-76x2-c4q4
- nvd.nist.gov/vuln/detail/CVE-2026-39373
- github.com/advisories/GHSA-fjrm-76x2-c4q4
- github.com/latchset/jwcrypto/commit/25db861d8b29434838669a94a843af03d29ea6ed
- github.com/latchset/jwcrypto/releases/tag/v1.5.7
- github.com/pypa/advisory-database/tree/main/vulns/jwcrypto/PYSEC-2026-70.yaml
- nvd.nist.gov/vuln/detail/CVE-2026-39373
- cve.org/CVERecord?id=CVE-2026-39373
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.