Skip to main content
VulnerabilityPublished

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

Affects safetySource GCVE Database

0
Compare
Authoritative record:CVE-2026-119284· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium : upgrade to 3.8.1_3 when convenient.

Data as of 31 Oct 2026, 17:07 UTC

CVSS 4.0 base score
6.9Medium
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 4.06.9
Patch
Available – fixed in 3.8.1_3
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

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 fix is available in joserfc version 3.8.1_3. Users should upgrade to this version or later to ensure the size guard properly limits allocations before splitting input data. The vendor recommends validating the total input length before calling split(), and using bounded find() operations or memory views to check segment sizes before materializing them. No other mitigation is indicated.

Description

joserfc 1.7.4 has a vulnerability where the compact JWS size guard allocates attacker-controlled segments before rejecting them. The library calls bytes.split() on the input before validating size limits, causing it to allocate roughly one full payload in memory even if the input is ultimately rejected for being too large. This can lead to excessive memory usage. The issue is fixed in version 3.8.1_3.

References

Community reviews

Loading reviews…