CVE-2026-27932 json
joserfc PBES2 p2c Unbounded Iteration Count enables Denial of Service (DoS)
published 2026-03-02 8 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-9344 , GHSA-w5r5-m38g-f9f9 , PYSEC-2026-2529
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. In 1.6.2 and earlier, a resource exhaustion vulnerability in joserfc allows an unauthenticated attacker to cause a Denial of Service (DoS) via CPU exhaustion. When the library decrypts a JSON Web Encryption (JWE) token using Password-Based Encryption (PBES2) algorithms, it reads the p2c (PBES2 Count) parameter directly from the token's protected header. This parameter defines the number of iterations for the PBKDF2 key derivation function. Because joserfc does not validate or bound this value, an attacker can specify an extremely large iteration count (e.g., 2^31 - 1), forcing the server to expend massive CPU resources processing a single token. This vulnerability exists at the JWA layer and impacts all high-level JWE and JWT decryption interfaces if PBES2 algorithms are allowed by the application's policy.
Patch / fix
- pypi joserfc 1.6.3
- joserfc Debian 14 1.6.3-1
debian advisories DEBIAN-CVE-2026-27932
- python-joserfc openSUSE Leap 16.0 1.1.0-bp160.2.1
- python-joserfc openSUSE Tumbleweed 1.6.3-1.1
opensuse advisories openSUSE-SU-2026:20322-1openSUSE-SU-2026:10293-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-27932 updated cvss 7.5
joserfc: joserfc: Denial of Service via unbounded PBKDF2 iteration count in JWE decryption
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/authlib/joserfc/security/advisories/GHSA-w5r5-m38g-f9f9 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | joserfc | <1.6.3 |
1.6.3 |
Affected products
- authlib joserfc
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
References
-
github.com
/authlib/joserfc/commit/696a9611ab982c45ee2190ed79ca8e1d8e09398f
web, patch
-
github.com
/authlib/joserfc/commit/696a961
web
-
github.com
/authlib/joserfc/security/advisories/GHSA-w5r5-m38g-f9f9
web, exploit, mitigation, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-27932
advisory
-
github.com
/authlib/joserfc
package
-
pypi.org
/project/joserfc
package
-
github.com
/advisories/GHSA-w5r5-m38g-f9f9
advisory
Sources
- CVE List CVE-2026-27932
- GitHub Advisory GHSA-w5r5-m38g-f9f9
- NVD CVE-2026-27932
- OSV PYSEC-2026-2529
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.