CVE catalog

CVE-2025-62706

Authlib vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.46% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-authlibsid1.7.2-2fixed
Debianpython-authlibforky1.7.2-2fixed
Debianpython-authlibtrixie1.6.0-1+deb13u1fixed
Debianpython-authlibbookworm1.2.0-1+deb12u1fixed
Debianpython-authlibbookworm-security1.2.0-1+deb12u2fixed
Ubuntupython-authlibnobleNot reportedvulnerable
Ubuntupython-authlibnoble1.3.0-1ubuntu0.1~esm1fixed
Ubuntupython-authlib-docnoble1.3.0-1ubuntu0.1~esm1fixed
Ubuntupython3-authlibnoble1.3.0-1ubuntu0.1~esm1fixed
CpeauthlibNot reported1.6.5fixed
Ubuntupython-authlibpro1.6.0-1vulnerable
Ubuntupython-authlibpro1.6.5-1vulnerable
Ubuntupython-authlibpro1.6.6-1vulnerable
Ubuntupython-authlibpro1.6.7-1vulnerable
Ubuntupython-authlibpro1.6.7-1ubuntu0.1~esm1vulnerable
Ubuntupython-authlib25.101.5.1-1vulnerable
Ubuntupython-authlib25.101.5.2-1vulnerable
Ubuntupython-authlib25.101.6.0-1vulnerable
Susepython-Authliblinux enterprise module for python 3 15 sp61.3.1-150600.3.9.1fixed
Susepython-Authliblinux enterprise module for python 3 15 sp71.3.1-150600.3.9.1fixed
Opensusepython-Authlibleap 15.61.3.1-150600.3.9.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-authlibsourcesid1.6.5-1not yet assignedNot reportedNot reported
Debianpython-authlibsourceforky1.6.5-1not yet assignedNot reportedNot reported
Debianpython-authlibsourcetrixie1.6.0-1+deb13u1not yet assignedNot reportedNot reported
Debianpython-authlibsourcebookworm1.2.0-1+deb12u1not yet assignedNot reportedNot reported
Ubuntupython-authlibdebnoble1.3.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython-authlib-docdebnoble1.3.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntupython3-authlibdebnoble1.3.0-1ubuntu0.1~esm1Not reportedNot reportedNot reported
CpeauthlibcpeNot reported1.6.5Not reportedNVD-CVE-2025-62706Not reported
Susepython-Authlibrpmlinux enterprise module for python 3 15 sp61.3.1-150600.3.9.1Not reportedSUSE-SU-2025:3842-1Not reported
Susepython-Authlibrpmlinux enterprise module for python 3 15 sp71.3.1-150600.3.9.1Not reportedSUSE-SU-2025:3842-1Not reported
Opensusepython-Authlibrpmleap 15.61.3.1-150600.3.9.1Not reportedSUSE-SU-2025:3842-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [python-authlib]

    Details (4)
    • 1.2.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm; usn · python-authlib · debian · 12

    • 1.2.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm; usn · python-authlib · debian · 12

    • 1.2.0-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm; usn · python-authlib · debian · 12

    • 1.2.0-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm; usn · python-authlib · debian · 12

  • Source package: [python-authlib]

    Details (4)
    • 1.2.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm; usn · python-authlib · debian · 12

    • 1.2.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm; usn · python-authlib · debian · 12

    • 1.2.0-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm; usn · python-authlib · debian · 12

    • 1.2.0-1+deb12u2 · all · bookworm-security

      Fixed · Fixed: 1.2.0-1+deb12u1

      usn · python-authlib · debian · bookworm; usn · python-authlib · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-authlib]

    Details (2)
    • 1.6.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 1.6.0-1+deb13u1

      usn · python-authlib · debian · 13

    • 1.6.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 1.6.0-1+deb13u1

      usn · python-authlib · debian · 13

  • Source package: [python-authlib]

    Details (2)
    • 1.6.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 1.6.0-1+deb13u1

      usn · python-authlib · debian · 13

    • 1.6.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 1.6.0-1+deb13u1

      usn · python-authlib · debian · 13

Observed:

References