Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| latchset | jwcrypto | < 1.5.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-jwcrypto | 1.5.6-1 | — |
| Debian 13 | python-jwcrypto | 1.5.6-1 | — |
| Debian 12 | python-jwcrypto | 1.1.0-1+deb12u1 | — |
| Debian 11 | python-jwcrypto | 0.8.0-1+deb11u1 | DLA-3883-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-jwcrypto | No fix yet | — |
| Ubuntu 26.04 LTS | python-jwcrypto | No fix yet | — |
| Ubuntu 25.10 | python-jwcrypto | No fix yet | — |
| Ubuntu 24.04 LTS | python-jwcrypto | No fix yet | — |
| Ubuntu 22.04 LTS | python-jwcrypto | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | python-jwcrypto | No fix yet | — |
| Ubuntu 18.04 LTS | python-jwcrypto | No fix yet | — |
| Ubuntu 16.04 LTS | python-jwcrypto | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | python-jwcrypto +1 | 0.8-5.el9_4 | RHSA-2024:2559 |
| RHEL 8 | bind-dyndb-ldap | 11.6-5.module+el8.10.0+21691+df63127d | RHSA-2024:3267 |
| RHEL 8 | custodia +1 | 0.6.0-3.module+el8.9.0+18911+94941f82 | RHSA-2024:3267 |
| RHEL 8 | ipa +9 | 4.9.13-9.module+el8.10.0+21692+c9b201bc | RHSA-2024:3267 |
| RHEL 8 | ipa-healthcheck +1 | 0.12-3.module+el8.9.0+19692+fac39a03 | RHSA-2024:3267 |
| RHEL 8 | ipa-server +5 | 4.9.13-9.module+el8.10.0+21691+df63127d | RHSA-2024:3267 |
| RHEL 8 | opendnssec | 2.1.7-1.module+el8.9.0+18911+94941f82 | RHSA-2024:3267 |
| RHEL 8 | python-jwcrypto +1 | 0.5.0-2.module+el8.10.0+21692+c9b201bc | RHSA-2024:3267 |
| RHEL 8 | python-kdcproxy +1 | 0.4-5.module+el8.9.0+18911+94941f82 | RHSA-2024:3267 |
| RHEL 8 | python-qrcode +2 | 5.1-12.module+el8.9.0+18920+2223d05e | RHSA-2024:3267 |
| RHEL 8 | python-yubico +1 | 1.3.2-9.1.module+el8.9.0+18920+2223d05e | RHSA-2024:3267 |
| RHEL 8 | pyusb +1 | 1.0.0-9.1.module+el8.9.0+18920+2223d05e | RHSA-2024:3267 |
| RHEL 8 | slapi-nis | 0.60.0-4.module+el8.10.0+20723+03062ebd | RHSA-2024:3267 |
| RHEL 8 | softhsm +1 | 2.6.0-5.module+el8.9.0+18911+94941f82 | RHSA-2024:3267 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2 | automation-controller-venv-tower | 4.5.8-1.el8ap | RHSA-2024:4522 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | python3-jwcrypto | 0.8-5.el9_4 | ALSA-2024:2559 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | bind-dyndb-ldap | 11.6-5.module+el8.10.0+1819+0aeba2f1 | RLSA-2024:3267 |
| Rocky Linux 8 | custodia | 0.6.0-3.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3267 |
| Rocky Linux 8 | ipa | 4.9.13-9.module+el8.10.0+1818+2dfda7a6 | RLSA-2024:3267 |
| Rocky Linux 8 | ipa-healthcheck | 0.12-3.module+el8.9.0+1433+5bd2f890 | RLSA-2024:3267 |
| Rocky Linux 8 | opendnssec | 2.1.7-1.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3267 |
| Rocky Linux 8 | python-jwcrypto | 0.5.0-2.module+el8.10.0+1818+2dfda7a6 | RLSA-2024:3267 |
| Rocky Linux 8 | python-kdcproxy | 0.4-5.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3267 |
| Rocky Linux 8 | python-qrcode | 5.1-12.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3267 |
| Rocky Linux 8 | python-yubico | 1.3.2-9.1.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3267 |
| Rocky Linux 8 | pyusb | 1.0.0-9.1.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3267 |
| Rocky Linux 8 | slapi-nis | 0.60.0-4.module+el8.9.0+1573+39ab85f4 | RLSA-2024:3267 |
| Rocky Linux 8 | softhsm | 2.6.0-5.module+el8.9.0+1371+ffa84eb9 | RLSA-2024:3267 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-jwcrypto | 1.6.0-1.1 | openSUSE-SU-2026:11712-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | python-jwcrypto | 0.4.2-1.amzn2.0.2 | ALAS2-2025-2763 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-jwcrypto | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | python-jwcrypto | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | python3-jwcrypto | 0.8-5.el9_4 | ELSA-2024-2559 |
| Oracle Linux 8 | bind-dyndb-ldap | 11.6-5.module+el8.10.0+90339+985471f7 | ELSA-2024-3267 |
| Oracle Linux 8 | custodia +1 | 0.6.0-3.module+el8.9.0+90094+20819f5a | ELSA-2024-3267 |
| Oracle Linux 8 | ipa-client +8 | 4.9.13-9.0.1.module+el8.10.0+90340+9faa45ba | ELSA-2024-3267 |
| Oracle Linux 8 | ipa-healthcheck | 0.12-3.module+el8.9.0+90094+20819f5a | ELSA-2024-3267 |
| Oracle Linux 8 | ipa-healthcheck-core | 0.12-3.module+el8.9.0+90095+d672673c | ELSA-2024-3267 |
| Oracle Linux 8 | ipa-server +5 | 4.9.13-9.0.1.module+el8.10.0+90339+985471f7 | ELSA-2024-3267 |
| Oracle Linux 8 | opendnssec | 2.1.7-1.module+el8.9.0+90094+20819f5a | ELSA-2024-3267 |
| Oracle Linux 8 | python3-jwcrypto | 0.5.0-2.module+el8.10.0+90340+9faa45ba | ELSA-2024-3267 |
| Oracle Linux 8 | python3-kdcproxy | 0.4-5.module+el8.9.0+90122+3305dc1d | ELSA-2024-3267 |
| Oracle Linux 8 | python3-pyusb | 1.0.0-9.1.module+el8.9.0+90095+d672673c | ELSA-2024-3267 |
| Oracle Linux 8 | python3-qrcode +1 | 5.1-12.module+el8.9.0+90095+d672673c | ELSA-2024-3267 |
| Oracle Linux 8 | python3-yubico | 1.3.2-9.1.module+el8.9.0+90095+d672673c | ELSA-2024-3267 |
| Oracle Linux 8 | slapi-nis | 0.60.0-4.module+el8.10.0+90297+bfe93ccc | ELSA-2024-3267 |
| Oracle Linux 8 | softhsm +1 | 2.6.0-5.module+el8.9.0+90094+20819f5a | ELSA-2024-3267 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | py3-jwcrypto | 1.5.6-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | jwcrypto | < 1.5.6 | 1.5.6 | GHSA-j857-7rvv-vj97 |
Advisories 11
- ALSA-2024:2559 Moderate: python-jwcrypto security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2024-1003 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- openSUSE-SU-2026:11712-1 python313-jwcrypto-1.6.0-1.1 on GA media SUSE / openSUSE Security Updates · Sep 8, 2026
- RHSA-2024:4522 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Aug 13, 2026
- RHSA-2024:3267 Red Hat Security Advisory: idm:DL1 and idm:client security update Red Hat Security Advisories (RHSA) · Jun 3, 2026
- RHSA-2024:2559 Red Hat Security Advisory: python-jwcrypto security update Red Hat Security Advisories (RHSA) · Jun 3, 2026
- DLA-3883-1 python-jwcrypto - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2024:3267 Moderate: idm:DL1 and idm:client security update Rocky Linux Security Advisories · Feb 5, 2026
- ALAS2-2025-2763 Moderate: python-jwcrypto security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 25, 2025
- ELSA-2024-3267 Moderate: idm:DL1 and idm:client security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 29, 2024
- ELSA-2024-2559 Moderate: python-jwcrypto security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 7, 2024