ADVISORIES

Vulnerability

CVE-2026-27932

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.

8 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-6mmw-xq5c-rrp6
    CVE-2026-27932 Chainguard Updated 5 November 2026
  • CGA-r96h-phpm-7c2r
    CVE-2026-27932 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-27932

    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…

    CVE-2026-27932 Debian Updated 1 October 2026
  • GHSA-w5r5-m38g-f9f9

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

    High CVE-2026-27932 PyPI Updated 10 September 2026
  • PYSEC-2026-2529

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

    CVE-2026-27932 PyPI Updated 13 July 2026
  • UBUNTU-CVE-2026-27932

    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…

    CVE-2026-27932 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:10293-1

    python311-joserfc-1.6.3-1.1 on GA media

    CVE-2026-27932 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:20322-1

    Security update for python-joserfc

    CVE-2026-27932 openSUSE Updated 23 March 2026

References