Skip to main content
CVE-2026-119283VulnerabilityPublished

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

Affects safetySource GCVE Database

0
Compare
Authoritative record:CVE-2026-119283· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 3.8.1_3 soon.

Data as of 31 Oct 2026, 17:07 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.17.5
Patch
Available – fixed in 3.8.1_3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade safety to 3.8.1_3.

Affected software

ProductAffectedFixed in
Homebrewsafetypkg:brew/safetyOther threatsAffected
  • >=3.7.0_11 <3.8.1_3
Fixed in
  • 3.8.1_3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fixed version of joserfc is available in 3.8.1_3. Users should upgrade to version 3.8.1_3 or later to mitigate this vulnerability. The library's verify_all_recipients option does not mitigate the CPU exhaustion risk and should not be relied upon. No other effective mitigations are documented. Applying the official patch is the recommended remediation.

Description

The joserfc library's decrypt_json() function for JWE General JSON Serialization accepts an unbounded recipients array, causing it to perform a costly RSA private-key decryption operation for each recipient without limit. This allows an unauthenticated attacker to craft a single JWE JSON input with many recipients, forcing the server to perform excessive CPU-intensive RSA decryptions, resulting in a denial of service via CPU exhaustion. The library caps other JWE structural elements but does not limit the number of recipients. The documented mitigation option verify_all_recipients=false does not reduce CPU usage because all recipients are decrypted before this flag is checked. This vulnerability is tracked as CVE-2026-119283 with a CVSS 3.1 score of 7.5 (High).

References

Community reviews

Loading reviews…