/
DirectorySecurity AdvisoriesPricing
Sign in
Security Advisories

CVE-2025-61920

Published

Last updated

NVD

https://nvd.nist.gov/vuln/detail/CVE-2025-61920

Severity

7.5

High

CVSS V3

Summary

Authlib is vulnerable to Denial of Service via Oversized JOSE Segments

Description

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.

References

  • https://images.chainguard.dev/security/CGA-vhqv-34qq-v8g8

Affected packages


The trusted source for open source

Talk to an expert
© 2025 Chainguard. All Rights Reserved.
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsIntegrationsPricing