Improper Handling of Highly Compressed Data (Data Amplification) Affecting jwcrypto package, versions [,1.5.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.29% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-JWCRYPTO-15928841
  • published8 Apr 2026
  • disclosed8 Apr 2026
  • creditUnknown

Introduced: 8 Apr 2026

CVE-2026-39373  (opens in a new tab)
CWE-409  (opens in a new tab)

How to fix?

Upgrade jwcrypto to version 1.5.7 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) through the JWE decompression that has no upper limit for plaintext size. An attacker can exhaust system memory by sending specially crafted compressed tokens that decompress to a much larger size than the input, potentially causing denial of service on memory-constrained systems.

Note:

This issue is due to incomplete fix for CVE-2024-28102.

CVSS Base Scores

version 4.0
version 3.1