Advisory record · GHSA-g7f3-828f-7h7m

Authlib : JWE zip=DEF decompression bomb enables DoS

CVSS 6.5 MediumEPSS 0.0047 · 41st percentile

Published by the GitHub Advisory Database at 10 Oct 2025, 22:54 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-g7f3-828f-7h7m · CVE-2025-62706 · PYSEC-2026-1202
Weakness (CWE)
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 are vulnerable to a denial of service when decrypting JWE tokens that use the zip=DEF header. A very small token can expand to tens or hundreds of megabytes during decryption, so an attacker who can submit tokens that decrypt successfully (for example, with a shared key) can exhaust memory and CPU. Upgrade to authlib 1.6.5 or later. Until then, reject zip=DEF tokens at the application boundary and enforce strict size limits on inbound tokens.

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
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0047, the 41st 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.