Home / authlib / joserfc / CVE-2025-65015
CVE-2025-65015: is it exploited, and which versions of authlib joserfc are affected and fixed?
CVE-2025-65015 is a denial of service (resources allocated without limits) vulnerability in authlib joserfc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: joserfc from 1.3.3 before 1.3.5 and joserfc from 1.4.0 before 1.4.2 (GitHub advisory GHSA-frfh-8v73-gjg4). Fixed in 1.3.5 and 1.4.2 (GitHub advisory GHSA-frfh-8v73-gjg4). Severity: Critical (9.2, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-65015?
joserfc has Possible Uncontrolled Resource Consumption Vulnerability Triggered by Logging Arbitrarily Large JWT Token Payloads
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. In versions from 1.3.3 to before 1.3.5 and from 1.4.0 to before 1.4.2, the ExceededSizeError exception messages are embedded with non-decoded JWT token parts and may cause Python logging to record an arbitrarily large, forged JWT payload. In situations where a misconfigured — or entirely absent — production-grade web server sits in front of a Python web application, an attacker may be able to send arbitrarily large bearer tokens in the HTTP request headers. When this occurs, Python logging or diagnostic tools (e.g., Sentry) may end up processing extremely large log messages containing the full JWT header during the joserfc.jwt.decode() operation. The same behavior also appears when validating claims and signature payload sizes, as the library raises joserfc.errors.ExceededSizeError() with the full payload embedded in the exception message. Since the payload is already fully loaded into memory at this stage, the library cannot prevent or reject it. This issue has been patched in versions 1.3.5 and 1.4.2.
From the CVE record by GitHub_M, last updated November 19, 2025, 17:12 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| authlib | joserfc | >= 1.3.3, < 1.3.5 >= 1.4.0, < 1.4.2 |
As the CVE record by GitHub_M states it, last updated November 19, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | joserfc | >= 1.3.3, < 1.3.5 | 1.3.5 | GHSA-frfh-8v73-gjg4 |
| PyPI | joserfc | >= 1.4.0, < 1.4.2 | 1.4.2 | GHSA-frfh-8v73-gjg4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 27, 2026. Summary: joserfc has Possible Uncontrolled Resource Consumption Vulnerability Triggered by Logging Arbitrarily Large JWT Token Payloads.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| hsiaoming | joserfc | from 1.3.3 before 1.3.5 | application |
| hsiaoming | joserfc | from 1.4.0 before 1.4.2 | application |
NVD analysis (status Analyzed), last modified October 18, 2026, 20:10 UTC.
How severe is CVE-2025-65015?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.2 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-65015 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, November 19, 2025)
- EPSS
- 0.48% probability of exploitation activity in the next 30 days, percentile 42.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://github.com/authlib/joserfc/security/advisories/GHSA-frfh-8v73-gjg4 x_refsource_CONFIRM
- https://github.com/authlib/joserfc/commit/63932f169d924caffafa761af2122b82059017f7 x_refsource_MISC
- https://github.com/authlib/joserfc/commit/673c8743fd0605b0e1de6452be6cba75f44e466b x_refsource_MISC
- https://github.com/authlib/joserfc/releases/tag/1.3.5 x_refsource_MISC
- https://github.com/authlib/joserfc/releases/tag/1.4.2 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 13, 2025
- Published
- November 18, 2025, 23:07 UTC
- CVE record updated
- November 19, 2025, 17:12 UTC by GitHub_M
- NVD
- Analyzed, last modified October 18, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect joserfc?
- Oct 29, 2026CVE-2026-119284 authlib joserfc: denial of service (uncontrolled resource consumption)
- Oct 29, 2026CVE-2026-119283 authlib joserfc: denial of service (uncontrolled resource consumption)
- Oct 15, 2026CVE-2026-102946 authlib joserfc: authentication bypass by spoofing
- Aug 24, 2026CVE-2026-75509 authlib joserfc: authentication bypass by spoofing
- Jul 29, 2026CVE-2026-62995 authlib joserfc: data authenticity not verified
- Jul 17, 2026CVE-2026-49852 authlib joserfc: authentication bypass (improper authentication)
- Jun 17, 2026CVE-2026-48990 authlib joserfc: denial of service (uncontrolled resource consumption)
- Mar 3, 2026CVE-2026-27932 authlib joserfc: denial of service (resources allocated without limits)
Questions about CVE-2025-65015
Is CVE-2025-65015 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.48% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of authlib joserfc are affected by CVE-2025-65015?
joserfc from 1.3.3 before 1.3.5 and joserfc from 1.4.0 before 1.4.2, per the GitHub advisory GHSA-frfh-8v73-gjg4. The tables above give every range the sources list.
Which version fixes CVE-2025-65015?
1.3.5 and 1.4.2, per the GitHub advisory GHSA-frfh-8v73-gjg4. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-65015?
Critical (9.2, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-65015?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.