CVE-2026-119284
MEDIUM 6.9CVSS 4.0joserfc: Compact JWS size guard allocates attacker-controlled segments before rejection
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.
- Published
- 29 Oct 2026
- Last modified
- 30 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-400
- Also known as
- GHSA-9pg5-8c7x-5hfx
- Sources
- NVDJSONOSV GHSA-9pg5-8c7x-5hfxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | joserfc | < 1.7.6 | 1.7.6 |
References
- https://github.com/authlib/joserfc/commit/397e04f4bbce0b94d86e31c1c003f4640af8fb39 · WEB
- https://github.com/authlib/joserfc/releases/tag/1.7.6 · WEB
- https://github.com/authlib/joserfc/security/advisories/GHSA-9pg5-8c7x-5hfx · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-119284 · ADVISORY
- https://github.com/authlib/joserfc · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 29 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Oct 2026)