Advisory record · GHSA-pq5p-34cr-23v9

Authlib is vulnerable to Denial of Service via Oversized JOSE Segments

CVSS 7.5 HighEPSS 0.0064 · 51st percentile

Published by the GitHub Advisory Database at 10 Oct 2025, 20:26 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
authlibPyPI<1.6.51.6.5
Identifiers
GHSA-pq5p-34cr-23v9 · CVE-2025-61920 · PYSEC-2026-1203
Weakness (CWE)
CWE-20 · CWE-400 · CWE-770
Published
10 Oct 2025
Updated
10 Sept 2026

Machine-written summary

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

Authlib versions before 1.6.5 accept unbounded JWS and JWT header and signature segments, so Authlib decodes and parses an oversized token in full before rejecting it. An unauthenticated remote attacker can send a crafted token to drive CPU and memory use up, enabling denial of service. Upgrade Authlib to 1.6.5 or later, which adds size limits on these segments. Rejecting oversized tokens before they reach Authlib is a possible interim measure.

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.0064, the 51st 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.