joserfc: Compact JWS size guard allocates attacker-controlled segments before rejection
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| authlibjoserfc | — | Not listed |
| pipjoserfc |
< 1.7.6→ 1.7.6 |
1.7.6 |
| PyPIjoserfc |
< 1.7.6→ 1.7.6 |
1.7.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-119284 joserfc Fix available
- Ubuntu UBUNTU-CVE-2026-119284 joserfc No fixed version in this record
Original description The description as published by the source.
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to 1.7.6, joserfc compact JWS deserialization calls bytes.split() before enforcing the existing aggregate segment-size limits. When attacker-controlled compact serialization bytes reach deserialize_compact(), the split creates copies of the header, payload, and signature segments before ExceededSizeError rejects them, causing an additional allocation approximately proportional to the supplied token. Requests that exhaust available process memory can therefore cause an availability failure even though signature verification fails. This issue is fixed in version 1.7.6.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com