Description
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. in versions 1.7.1 and prior, joserfc accepts JWTs with trailing padding (==) which are not conforming to the JOSE specifications. This leads to malleability of the JWTs when consumed by joserfc. Depending on this application this might or not be an issue. This could lead to bypass of token revocation or anti-replay protection when implemented as a deny list of tokens or a deny list of token hashes. Note that ECDSA JWS are always malleable because of the malleability of ECDSA signatures (first test case in the code bellow). This makes a scheme which assumes that JWTs are not malleable brittle. However for other signatures (or MAC) schemes it might make sense to assume non malleability of the token. This issue has been fixed in version 1.7.2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| authlib | joserfc | < 1.7.2 | — |
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 | joserfc | 1.7.2-1 | — |
| Debian 13 | joserfc | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | joserfc | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | jaeger | 2.20.0-0.8.hum1 | RHSA-2026:48758 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-joserfc | 1.7.4-2.1 | openSUSE-SU-2026:11423-1 |
| openSUSE Leap 16.0 | python-joserfc | 1.1.0-bp160.4.1 | openSUSE-SU-2026:21515-1 |
Advisories 3
- RHSA-2026:48758 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- openSUSE-SU-2026:21515-1 Security update for python-joserfc SUSE / openSUSE Security Updates · Aug 2, 2026
- openSUSE-SU-2026:11423-1 python313-joserfc-1.7.4-2.1 on GA media SUSE / openSUSE Security Updates · Aug 2, 2026