CVE-2026-27932 joserfc PBES2 p2c Unbounded Iteration Count enables Denial of Service (DoS)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
7 packages: 3 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/joserfc(Debian 13) | = 1.1.0-1; = 1.2.0-1; = 1.2.2-1; = 1.3.1-1 +19 more | No fix listed | No fix yet |
| ubuntu/joserfc(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/joserfc(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/joserfc(Debian 14) | < 1.6.3-1; = 1.1.0-1; = 1.2.0-1; = 1.2.2-1 +10 more | 1.6.3-1 | Fixed |
| hsiaoming joserfc | <= 1.6.2 | after 1.6.2 | Fixed |
| pypi joserfc(PyPI) | < 1.6.3; = 0.1.0; = 0.2.0; = 0.3.0 +33 more | 1.6.3 | Fixed |
| Authlib joserfc | = <= 1.6.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi joserfc(PyPI) | < 1.6.3 | 1.6.3 |
| pypi joserfc(PyPI) | = 0.1.0 | No fix listed |
| pypi joserfc(PyPI) | = 0.10.0 | No fix listed |
| pypi joserfc(PyPI) | = 0.11.0 | No fix listed |
| pypi joserfc(PyPI) | = 0.11.1 | No fix listed |
| pypi joserfc(PyPI) | = 0.12.0 | No fix listed |
| pypi joserfc(PyPI) | = 0.2.0 | No fix listed |
| pypi joserfc(PyPI) | = 0.3.0 | No fix listed |
| pypi joserfc(PyPI) | = 0.4.0 | No fix listed |
| pypi joserfc(PyPI) | = 0.5.0 | No fix listed |
| pypi joserfc(PyPI) | = 0.6.0 | No fix listed |
| pypi joserfc(PyPI) | = 0.7.0 | No fix listed |
| pypi joserfc(PyPI) | = 0.8.0 | No fix listed |
| pypi joserfc(PyPI) | = 0.9.0 | No fix listed |
| pypi joserfc(PyPI) | = 1.0.0 | No fix listed |
| pypi joserfc(PyPI) | = 1.0.1 | No fix listed |
| pypi joserfc(PyPI) | = 1.0.2 | No fix listed |
| pypi joserfc(PyPI) | = 1.0.3 | No fix listed |
| pypi joserfc(PyPI) | = 1.0.4 | No fix listed |
| pypi joserfc(PyPI) | = 1.1.0 | No fix listed |
| pypi joserfc(PyPI) | = 1.2.0 | No fix listed |
| pypi joserfc(PyPI) | = 1.2.1 | No fix listed |
| pypi joserfc(PyPI) | = 1.2.2 | No fix listed |
| pypi joserfc(PyPI) | = 1.3.0 | No fix listed |
| pypi joserfc(PyPI) | = 1.3.1 | No fix listed |
Show 53 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi joserfc(PyPI) | = 1.3.2 | No fix listed |
| pypi joserfc(PyPI) | = 1.3.3 | No fix listed |
| pypi joserfc(PyPI) | = 1.3.4 | No fix listed |
| pypi joserfc(PyPI) | = 1.3.5 | No fix listed |
| pypi joserfc(PyPI) | = 1.4.0 | No fix listed |
| pypi joserfc(PyPI) | = 1.4.1 | No fix listed |
| pypi joserfc(PyPI) | = 1.4.2 | No fix listed |
| pypi joserfc(PyPI) | = 1.4.3 | No fix listed |
| pypi joserfc(PyPI) | = 1.5.0 | No fix listed |
| pypi joserfc(PyPI) | = 1.6.0 | No fix listed |
| pypi joserfc(PyPI) | = 1.6.1 | No fix listed |
| pypi joserfc(PyPI) | = 1.6.2 | No fix listed |
| Authlib joserfc | = <= 1.6.2 | No fix listed |
| debian/joserfc(Debian:13) | All versions | No fix listed |
| debian/joserfc(Debian:13) | = 1.1.0-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.2.0-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.2.2-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.3.1-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.3.2-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.3.4-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.4.0-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.4.1-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.4.3-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.5.0-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.6.0-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.6.1-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.6.2-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.6.3-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.6.4-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.6.5-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.6.8-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.7.0-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.7.1-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.7.2-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.7.3-1 | No fix listed |
| debian/joserfc(Debian:13) | = 1.7.4-1 | No fix listed |
| debian/joserfc(Debian:14) | < 1.6.3-1 | 1.6.3-1 |
| debian/joserfc(Debian:14) | = 1.1.0-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.2.0-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.2.2-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.3.1-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.3.2-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.3.4-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.4.0-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.4.1-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.4.3-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.5.0-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.6.0-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.6.1-1 | No fix listed |
| debian/joserfc(Debian:14) | = 1.6.2-1 | No fix listed |
| ubuntu/joserfc(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/joserfc(Ubuntu:26.10) | All versions | No fix listed |
| hsiaoming joserfc | <= 1.6.2 | No fix listed |
References
- https://github.com/authlib/joserfc/security/advisories/GHSA-w5r5-m38g-f9f9 exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- https://github.com/authlib/joserfc/commit/696a9611ab982c45ee2190ed79ca8e1d8e09398f patch
- github.com product
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2026-27932 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org