CVE-2026-119283

joserfc: Unbounded JWE General JSON `recipients` Array Leads to CPU Exhaustion (DoS) via Repeated RSA Private-Key Decryption

Published Oct 29, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to 1.7.5, joserfc.jwe.decrypt_json() accepts a JWE General JSON Serialization recipients array without a count limit and calls decrypt_cek() for every entry. An unauthenticated attacker who can submit a JWE to an endpoint using an RSA key-management algorithm can choose the number of private-key decryption operations performed by one request. The verify_all_recipients option does not reduce this work because the affected loop processes every recipient before consulting that setting, allowing repeated requests to exhaust service CPU without affecting confidentiality or integrity. This issue is fixed in version 1.7.5.

Analysis

AI-generated

Technical impact

The joserfc library, before version 1.7.5, processes every recipient in a JWE General JSON Serialization without a limit. An unauthenticated attacker can submit a crafted JWE with an arbitrary number of recipients, forcing the library to perform the same RSA private‑key decryption for each entry and exhausting CPU resources. The flaw does not compromise confidentiality or integrity; it only impacts availability by causing a denial of service.

Affected Systems

This issue affects the Python JSON Object Signing and Encryption library Authlib:joserfc in all releases prior to 1.7.5. Users who rely on the default decrypt_json() call for JWE messages are susceptible, especially if their services accept JWE payloads that might contain large recipient lists.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.5, indicating a high impact attack. The EPSS score is not available, but the lack of authentication and the ability to trigger the loop remotely make it a compelling target for a DoS attempt. The vulnerability is not listed in the CISA KEV catalog, and there are no known public exploits documented as of the latest advisory, but the stated DoS potential remains significant.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Authlib:joserfc to version 1.7.5 or later, which limits the number of recipients processed during decryption.
  • Implement application‑level validation that rejects JWE General JSON messages with more than a reasonable number of recipients, or rejects large recipients arrays altogether.
  • Apply rate‑limiting or request throttling to requests that contain JWE payloads, particularly those that trigger decryption, to mitigate potential CPU exhaustion attacks.

Generated by OpenCVE AI on October 30, 2026 at 13:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jpxq-7h8p-2q76 joserfc: Unbounded JWE General JSON `recipients` Array Leads to CPU Exhaustion (DoS) via Repeated RSA Private-Key Decryption
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Authlib
Authlib joserfc
Vendors & Products Authlib
Authlib joserfc
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.5, joserfc.jwe.decrypt_json() accepts a JWE General JSON Serialization recipients array without a count limit and calls decrypt_cek() for every entry. An unauthenticated attacker who can submit a JWE to an endpoint using an RSA key-management algorithm can choose the number of private-key decryption operations performed by one request. The verify_all_recipients option does not reduce this work because the affected loop processes every recipient before consulting that setting, allowing repeated requests to exhaust service CPU without affecting confidentiality or integrity. This issue is fixed in version 1.7.5.
Title joserfc: Unbounded JWE General JSON `recipients` Array Leads to CPU Exhaustion (DoS) via Repeated RSA Private-Key Decryption
Weaknesses CWE-400
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-606

    Unchecked Input for Loop Condition

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 5:08 PM
Reserved
Oct 29, 2026, 6:50 PM
Status
Deferred
Published
Oct 29, 2026, 10:17 PM
Modified
Oct 30, 2026, 5:17 PM
Severity
Important
Public date
Oct 29, 2026, 9:10 PM