VDB

CVE-2026-27932

CVE-2026-27932 PUBLISHED CVSS 7.5 HIGH

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

Reported by github_m · Published March 3, 2026

joserfc is fixed in 1.6.3 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
joserfcPyPI1.6.3
localstackChainguard4.14.0-r1
joserfchsiaoming1.6.2

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
authlibjoserfc<= 1.6.2
PyPIjoserfc0
chainguardlocalstack0
authlibjoserfc0

Timeline

  • Mar 2, 2026 CVE Published
  • Mar 3, 2026 PoC Published (3 in total, the first dated here)
  • Mar 4, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 4, 2026 CVE Updated
  • Mar 9, 2026 Security Advisory
  • Mar 17, 2026 Coalition ESS Score (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-27932
vulnetix vdb fixes CVE-2026-27932

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-27932/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›