Skip to main content
VulnerabilityPublished Updated

CVE-2025-62706: Python authlib · Prior to version 1.6.5, Authlib’s JWE zip=DEF path performs unbounded DEFLATE

Affects python-authlibSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.5 Medium · fixed in 0.15.5-1ubuntu0.1~esm1 : update python-authlib when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.15.5-1ubuntu0.1~esm1, 1.3.0-1ubuntu0.1~esm1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade the Ubuntu python-authlib to 0.15.5-1ubuntu0.1~esm1 (package) or 1.3.0-1ubuntu0.1~esm1 (package).

Affected software

ProductAffectedFixed in
Ubuntu Pro 26.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 1.6.0-1 – 1.6.7-1ubuntu0.1~esm1
5 affected builds
Fixed in–
Ubuntu 25.10python-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=questingOther threatsAffected
  • =1.5.1-1
  • =1.5.2-1
  • =1.6.0-1
Fixed in–
Ubuntu Pro 24.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <1.3.0-1ubuntu0.1~esm1
Fixed in
  • 1.3.0-1ubuntu0.1~esm1
Ubuntu Pro 22.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <0.15.5-1ubuntu0.1~esm1
Fixed in
  • 0.15.5-1ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…