Skip to main content
← All vulnerabilities
CVE-2026-119284EUVD-2026-113401

joserfc: Compact JWS size guard allocates attacker-controlled segments before rejection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.7.6
None on Exploit-DB, Metasploit or GitHub

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.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • authlib joserfc

    fixed in 1.7.6

References 3

GitHub · authlib/joserfc