CVE-2026-27932
High · 7.5CVSS
7.5
EPSS
0.3%
Published
Mar 3, 2026
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | joserfc | 0 | 1.6.3 |
| openSUSE:Leap 16.0 | python-joserfc | 0 | 1.1.0-bp160.2.1 |
| openSUSE:Tumbleweed | python-joserfc | 0 | 1.6.3-1.1 |
Related vulnerabilities
- GHSA-w5r5-m38g-f9f9 joserfc's PBES2 p2c Unbounded Iteration Count enables Denial of Service (DoS) Same vulnerability
- GHSA-frfh-8v73-gjg4 joserfc has Possible Uncontrolled Resource Consumption Vulnerability Triggered by Logging… Also affects joserfc
- CVE-2025-65015 joserfc has Possible Uncontrolled Resource Consumption Vulnerability Triggered by Logging… Also affects joserfc
- CVE-2026-48990 joserfc is a Python library that provides an implementation of several JSON Object… Also affects python-joserfc
- CVE-2026-114731 Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by an uncontrolled… CWE-770
- CVE-2026-96377 Allocation of Resources Without Limits or Throttling vulnerability in Drupal Combined… CWE-770
- CVE-2026-96365 Allocation of Resources Without Limits or Throttling vulnerability in Drupal Webform… CWE-770
- CVE-2026-114723 Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 allows the ImageMagick resource… CWE-770