๐Ÿ” CVE Alert

CVE-2026-27932

HIGH 7.5

joserfc PBES2 p2c Unbounded Iteration Count enables Denial of Service (DoS)

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-770
Vendor authlib
Product joserfc
Published Mar 3, 2026
Last Updated Mar 4, 2026
Stay Ahead of the Next One

Get instant alerts for authlib joserfc

Be the first to know when new high vulnerabilities affecting authlib joserfc are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

authlib / joserfc
<= 1.6.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/authlib/joserfc/security/advisories/GHSA-w5r5-m38g-f9f9 github.com: https://github.com/authlib/joserfc/commit/696a9611ab982c45ee2190ed79ca8e1d8e09398f