Resource Exhaustion Affecting python311-Authlib package, versions <1.3.1-150600.3.9.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES156-PYTHON311AUTHLIB-13744384
  • published29 Oct 2025
  • disclosed28 Oct 2025

Introduced: 28 Oct 2025

NewCVE-2025-62706  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade SLES:15.6 python311-Authlib to version 1.3.1-150600.3.9.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python311-Authlib package and not the python311-Authlib package as distributed by SLES. See How to fix? for SLES:15.6 relevant fixed versions and status.

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JWE zip=DEF path performs unbounded DEFLATE decompression. A very small ciphertext can expand into tens or hundreds of megabytes on decrypt, allowing an attacker who can supply decryptable tokens to exhaust memory and CPU and cause denial of service. This issue has been patched in version 1.6.5. Workarounds for this issue involve rejecting or stripping zip=DEF for inbound JWEs at the application boundary, forking and add a bounded decompression guard via decompressobj().decompress(data, MAX_SIZE)) and returning an error when output exceeds a safe limit, or enforcing strict maximum token sizes and fail fast on oversized inputs; combine with rate limiting.

CVSS Base Scores

version 3.1