Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. joserfc
  4. ›
  5. CVE-2025-65015

CVE-2025-65015: joserfc has Possible Uncontrolled Resource Consumption Vulnerability Triggered by Logging Arbitrarily Large JWT Token Payloads

November 18, 2025 (updated October 27, 2026)

The ExceededSizeError exception messages are embedded with non-decoded JWT token parts and may cause Python logging to record an arbitrarily large, forged JWT payload.

References

  • github.com/advisories/GHSA-frfh-8v73-gjg4
  • github.com/authlib/joserfc/commit/63932f169d924caffafa761af2122b82059017f7
  • github.com/authlib/joserfc/commit/673c8743fd0605b0e1de6452be6cba75f44e466b
  • github.com/authlib/joserfc/releases/tag/1.3.5
  • github.com/authlib/joserfc/releases/tag/1.4.2
  • github.com/authlib/joserfc/security/advisories/GHSA-frfh-8v73-gjg4
  • github.com/pypa/advisory-database/tree/main/vulns/joserfc/PYSEC-2026-361.yaml
  • nvd.nist.gov/vuln/detail/CVE-2025-65015
  • pypi.org/project/joserfc

Code Behaviors & Features

Detect and mitigate CVE-2025-65015 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.3.3 before 1.3.5, all versions starting from 1.4.0 before 1.4.2

Fixed versions

  • 1.3.5
  • 1.4.2

Solution

Upgrade to versions 1.3.5, 1.4.2 or above.

Impact 8.6 HIGH

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

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/joserfc/CVE-2025-65015.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:16 +0000.