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.
Published: 2026-10-29
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service via memory exhaustion
Action: Patch
AI Analysis

Impact

joserfc is a Python library that implements JOSE standards. In versions prior to 1.7.6, its compact JWS deserialization performs a bytes.split() before checking aggregate segment-size limits. If an attacker supplies a large compact serialization, the split creates copies of the header, payload, and signature segments before the library throws an ExceededSizeError, allocating memory proportional to the token size. This additional allocation can exhaust process memory and cause an availability failure even though signature verification ultimately fails. The flaw is a classic resource exhaustion vulnerability (CWE-400).

Affected Systems

The vulnerable product is authlib's joserfc library, versions earlier than 1.7.6. Any application that incorporates joserfc—including web services, authentication engines, or third‑party libraries—must verify whether it uses a version before this release.

Risk and Exploitability

The CVSS base score is 6.9, reflecting a moderate severity. No EPSS score is available, but the exploit requires only that an attacker can supply a JWS token to the parsing code, which is a common scenario for services accepting JWTs. The vulnerability is not listed in the CISA KEV catalog. Attackers can trigger the flaw by sending oversized tokens over the network to the parsing endpoint, making the attack feasible and potentially impactful if memory limits are reached.

Generated by OpenCVE AI on October 29, 2026 at 22:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade joserfc to version 1.7.6 or newer, which enforces segment-size limits before allocation.
  • Redeploy any applications or services that use joserfc to ensure the updated library is loaded.
  • Implement an application‑level size check to reject unusually large tokens before they reach joserfc, reducing the attack surface.

Generated by OpenCVE AI on October 29, 2026 at 22:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Authlib
Authlib joserfc
Vendors & Products Authlib
Authlib joserfc

Thu, 29 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title joserfc: Compact JWS size guard allocates attacker-controlled segments before rejection
Weaknesses CWE-400
References
Metrics cvssV4_0

{'score': 6.9, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-29T21:33:16.529Z

Reserved: 2026-10-29T18:50:28.065Z

Link: CVE-2026-119284

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-29T22:17:01.210

Modified: 2026-10-29T22:17:01.327

Link: CVE-2026-119284

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T22:30:13Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption