CVE-2026-27932: Moto · joserfc's PBES2 p2c Unbounded Iteration Count enables Denial of Service (DoS)
Affects motoSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 5.1.21_2 soon.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.1.21_2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 29 Oct 2026.
What to do
Upgrade moto to 5.1.21_2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewmotopkg:brew/motoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in joserfc version 5.1.21_2 that addresses this vulnerability by bounding the p2c iteration count. Users should upgrade to this fixed version. Additionally, applications should restrict the use of PBES2 algorithms to cases where password-based encryption is necessary and enforce strict algorithm allowlists in JWT/JWE policies. If upgrading immediately is not possible, implementing an upper bound check on the p2c parameter in the decryption function is recommended to prevent excessive iteration counts.
Description
A resource exhaustion vulnerability in the joserfc library allows an unauthenticated attacker to cause a Denial of Service (DoS) by specifying an unbounded iteration count (p2c) in PBES2 password-based encryption during JSON Web Encryption (JWE) token decryption. The p2c parameter controls the number of iterations for the PBKDF2 key derivation function and is not validated or bounded, enabling attackers to force excessive CPU usage. This affects all high-level JWE and JWT decryption interfaces that allow PBES2 algorithms. The vulnerability is fixed in joserfc version 5.1.21_2.
References
- github.com/authlib/joserfc/security/advisories/GHSA-w5r5-m38g-f9f9 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-27932 (opens in a new tab)
- github.com/authlib/joserfc/commit/696a961 (opens in a new tab)
- github.com/authlib/joserfc/commit/696a9611ab982c45ee2190ed79ca8e1d8e09398f (opens in a new tab)
- github.com/authlib/joserfc (opens in a new tab)