Advisory record · GHSA-w5r5-m38g-f9f9

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

CVSS 7.5 HighEPSS 0.0046 · 40th percentile

Published by the GitHub Advisory Database at 2 Mar 2026, 18:47 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
joserfcPyPI<1.6.31.6.3
Identifiers
GHSA-w5r5-m38g-f9f9 · CVE-2026-27932 · PYSEC-2026-2529
Weakness (CWE)
CWE-770
Published
2 Mar 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The joserfc package before 1.6.3 is vulnerable to a denial of service when decrypting JWE or JWT tokens that use PBES2 key management algorithms. An unauthenticated attacker can send crafted tokens with an extremely large PBES2 iteration count (p2c) in the header, forcing the server to spend large amounts of CPU per token. Upgrade to joserfc 1.6.3 or later. Applications that do not need password-based encryption can avoid the issue by not allowing PBES2 algorithms in their policies.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0046, the 40th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:34 UTC First seen by agentprime
  2. 31 Oct 2026, 14:34 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.