CVSS 4.0
9.2 criticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:HCritical (9.2) in hsiaoming joserfc. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in joserfc 1.3.5, 1.4.2.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:HCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hjoserfc (PyPI): fixed in 1.3.5, 1.4.2Explain CVE-2025-65015 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-65015?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-65015?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-65015 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| hsiaoming:joserfc | from 1.3.3 before 1.3.5 |
| hsiaoming:joserfc | from 1.4.0 before 1.4.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-frfh-8v73-gjg4 | 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 |
| PYSEC-2026-361 | PyPI | joserfc | >=1.3.3 <1.3.5 >=1.4.0 <1.4.2 | 1.3.5, 1.4.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 14 | joserfc | 1.4.3-1 | DEBIAN-CVE-2025-65015 |
| Ubuntu | 25.10, 26.04:LTS, 26.10 | joserfc | no fix listed | UBUNTU-CVE-2025-65015 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
THe impact of this vulnerability has been downgraded from CRITICAL to MODERATE because of the following reasons:
1. successful exploitation requires a misconfigured or absent production-grade web server that lacks proper request size limits which is not an attribute of Red Hat's SSDC practice and so limits the exploitability of the affected product.
2. The vulnerability only affects availability through resource exhaustion without enabling remote code execution, privilege escalation, or data compromise.
This issue arises because joserfc embeds full, non-decoded JWT token parts directly into ExceededSizeError exception messages when validating token sizes during the jwt.decode() operation. When an attacker sends an arbitrarily large bearer token in HTTP request headers, the library loads the entire payload into memory before raising the exception, and the exception message containing the full payload is then passed to Python logging. This can result in excessive consumption of memory.
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-65015.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).