CVE-2025-61920

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-61920
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-61920.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-61920
Aliases
Downstream
Related
Published
2025-10-10T19:25:07Z
Modified
2025-10-25T12:20:48.166270Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Authlib is vulnerable to Denial of Service via Oversized JOSE Segments
Details

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JOSE implementation accepts unbounded JWS/JWT header and signature segments. A remote attacker can craft a token whose base64url‑encoded header or signature spans hundreds of megabytes. During verification, Authlib decodes and parses the full input before it is rejected, driving CPU and memory consumption to hostile levels and enabling denial of service. Version 1.6.5 patches the issue. Some temporary workarounds are available. Enforce input size limits before handing tokens to Authlib and/or use application-level throttling to reduce amplification risk.

Database specific
{
    "cwe_ids": [
        "CWE-20",
        "CWE-400",
        "CWE-770"
    ]
}
References

Affected packages

Git / github.com/authlib/authlib

Affected ranges

Type
GIT
Repo
https://github.com/authlib/authlib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1
v0.10
v0.11
v0.12
v0.13
v0.14
v0.14.1
v0.14.2
v0.14.3
v0.15
v0.15.1
v0.2
v0.2.1
v0.3
v0.4
v0.4.1
v0.5
v0.5.1
v0.6
v0.7
v0.8
v0.9

v1.*

v1.0.0
v1.0.1
v1.1.0
v1.2.0
v1.2.1
v1.3.0
v1.3.1
v1.3.2
v1.4.0
v1.4.1
v1.5.0
v1.5.1
v1.5.2
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.6.4

Git / github.com/authlib/authlib

Affected ranges

Type
GIT
Repo
https://github.com/lepture/authlib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1
v0.10
v0.11
v0.12
v0.13
v0.14
v0.14.1
v0.14.2
v0.14.3
v0.15
v0.15.1
v0.2
v0.2.1
v0.3
v0.4
v0.4.1
v0.5
v0.5.1
v0.6
v0.7
v0.8
v0.9

v1.*

v1.0.0
v1.0.1
v1.1.0
v1.2.0
v1.2.1
v1.3.0
v1.3.1
v1.3.2
v1.4.0
v1.4.1
v1.5.0
v1.5.1
v1.5.2
v1.6.0
v1.6.1
v1.6.2
v1.6.3
v1.6.4