CVE-2026-39373
JWCrypto: python-cryptography: python: JWCrypto: Memory exhaustion via crafted compressed JWE tokens
Overview
Description
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-409
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | jwcrypto | <1.5.7 | 1.5.7 |
Open a package to see all its vulnerabilities.
Operating systems · 26 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | python3-jwcrypto | 1.5.6-3.el9_8 |
Red Hat 4 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | python-jwcrypto | affected | — |
| 8 (idm:client) | python-jwcrypto +1 | affected | — |
| 8 (idm:DL1) | python-jwcrypto +1 | affected | — |
| 9 | python3-jwcrypto | 0:1.5.6-3.el9_8 | RHSA-2026:19197 |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-jwcrypto | 1.5.6-160000.3.1 | SUSE-SU-2026:21425-1 |
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | python3-jwcrypto | 1.5.6-3.el9_8 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | python3-jwcrypto | 1.4.2-46.amzn2023.0.1 |
chainguard 1 release · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| keep-fips | 0.51.0-r3 | |
| keep | 0.51.0-r4 | |
| py3-jwcrypto | 1.5.7-r0 | |
| authentik-fips-2025-12 | 2025.12.4-r4 | |
| authentik-2025-12 | 2025.12.4-r5 | |
| authentik-fips-2026-2 | 2026.2.1-r4 |
2 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | python-jwcrypto | affected |
| 12 | python-jwcrypto | affected |
| 13 | python-jwcrypto | 1.5.6-1.1~deb13u1 |
| 14 | python-jwcrypto | 1.5.6-1.1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| python-jwcrypto | 1.5.6-1.1~deb13u1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python311-jwcrypto +2 | 1.5.7-2.1 | openSUSE-SU-2026:10576-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-jwcrypto | 1.5.6-160000.3.1 | openSUSE-SU-2026:20644-1 |
rocky 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | python3-jwcrypto | 1.5.6-5.el10_2 |
| 9 | python3-jwcrypto | 1.5.6-3.el9_8 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| py3-jwcrypto | 1.5.7-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:19042
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:19197
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-39373
- bugzilla.redhat.com https://bugzilla.redhat.com/2456187
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2456187
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-39373
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-19197.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:19042
- github.com https://github.com/latchset/jwcrypto
Show all 18 references
- github.com https://github.com/latchset/jwcrypto/commit/25db861d8b29434838669a94a843af03d29ea6ed
- github.com https://github.com/latchset/jwcrypto/releases/tag/v1.5.7
- github.com https://github.com/latchset/jwcrypto/security/advisories/GHSA-fjrm-76x2-c4q4
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/jwcrypto/PYSEC-2026-70.yaml
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-39373.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-19197.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-39373
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-39373
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.