Advisory

DEBIAN-CVE-2025-62706

Also known as: CVE-2025-62706

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2025-10-22 22:15 UTC
Modified
2026-10-23 17:47 UTC

Affected packages and fixes

python-authlib

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1.2.0-1+deb12u1 (ecosystem)

Fixed versions

1.2.0-1+deb12u1

Fix

  • Fixed version 1.2.0-1+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-authlib

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.6.0-1+deb13u1 (ecosystem)

Fixed versions

1.6.0-1+deb13u1

Fix

  • Fixed version 1.6.0-1+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-authlib

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.6.5-1 (ecosystem)

Fixed versions

1.6.5-1

Fix

  • Fixed version 1.6.5-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences