Security mailing lists by PureSourceCode

CVE-2025-61920

HIGH 7.5CVSS 3.1

Authlib is vulnerable to Denial of Service via Oversized JOSE Segments

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JOSE implementation accepts unbounded JWS/JWT header and signature segments. A remote attacker can craft a token whose base64url‑encoded header or signature spans hundreds of megabytes. During verification, Authlib decodes and parses the full input before it is rejected, driving CPU and memory consumption to hostile levels and enabling denial of service. Version 1.6.5 patches the issue. Some temporary workarounds are available. Enforce input size limits before handing tokens to Authlib and/or use application-level throttling to reduce amplification risk.

Published
10 Oct 2025
Last modified
19 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-20CWE-400CWE-770
Also known as
GHSA-pq5p-34cr-23v9PYSEC-2026-1203
Sources
NVDJSONOSV GHSA-pq5p-34cr-23v9JSONOSV PYSEC-2026-1203JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD authlib authlib
cpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:*
< 1.6.5 1.6.5
OSV PyPI authlib < 1.6.5 1.6.5

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 10 Oct 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Oct 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.