oserfc 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.
| Link | Resource |
|---|---|
| https://github.com/authlib/joserfc/commit/696a9611ab982c45ee2190ed79ca8e1d8e09398f | Patch |
| https://github.com/authlib/joserfc/security/advisories/GHSA-w5r5-m38g-f9f9 | Exploit Mitigation Vendor Advisory |
05 Mar 2026, 18:00
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:hsiaoming:joserfc:*:*:*:*:*:python:*:* | |
| First Time |
Hsiaoming
Hsiaoming joserfc |
|
| References | () https://github.com/authlib/joserfc/commit/696a9611ab982c45ee2190ed79ca8e1d8e09398f - Patch | |
| References | () https://github.com/authlib/joserfc/security/advisories/GHSA-w5r5-m38g-f9f9 - Exploit, Mitigation, Vendor Advisory |
03 Mar 2026, 23:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Published : 2026-03-03 23:15
Updated : 2026-03-05 18:00
NVD link : CVE-2026-27932
Mitre link : CVE-2026-27932
CVE.ORG link : CVE-2026-27932
JSON object : View
Allocation of Resources Without Limits or Throttling