Skip to main content

joserfc EUVDEUVD-2026-37805

| CVE-2026-48990 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-06-17 GitHub_M GHSA-wphv-vfrh-23q5
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted b64=false JWS token to application endpoint
  2. Delivery
    Token passes to joserfc RFC7797 deserialization path
  3. Exploit
    max_payload_length check absent - oversized payload accepted
  4. Execution
    Server allocates unbounded memory for payload
  5. Persist
    Repeat requests exhaust available resources
  6. Impact
    Service availability degraded

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application accepts JWS tokens bearing the RFC7797 'b64=false' critical header parameter from untrusted or lower-trust callers, and that it relies on joserfc's JWSRegistry.max_payload_length enforcement to bound payload size rather than applying an independent size check before token deserialization. Applications that process only default Base64URL-encoded JWS tokens are not affected; the vulnerability is exclusive to the unencoded-payload code path. The CVSS PR:N/UI:N metrics indicate no attacker authentication or user interaction is required, but effective exploitation is bounded by whether the application exposes an endpoint that processes b64=false JWS input from external sources. Deployments with HTTP body size limits enforced at a proxy or load balancer layer upstream of joserfc reduce the practical risk even on affected library versions.

Impact

The CVSS 3.1 base score of 5.3 (Medium) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L correctly characterizes this as a remotely reachable, low-complexity denial-of-service issue limited to availability impact. No EPSS score was provided in the input data, so relative exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog and no public exploit code has been referenced. The practical blast radius is narrower than the PR:N CVSS metric suggests: only applications that (1) actively accept JWS tokens carrying the RFC7797 b64=false header from lower-trust or external callers, and (2) rely exclusively on joserfc's internal size limit enforcement, are exposed. Deployments that enforce payload size at the HTTP or application gateway layer before invoking joserfc are effectively unaffected. The A:L (Limited) availability rating suggests degraded performance or increased resource consumption rather than immediate process termination, reducing urgency relative to a crash-inducing flaw at the same CVSS score.

Exploit ScenarioDerived

An attacker targeting an application that accepts externally supplied JWS tokens - such as a token-validated API endpoint - crafts a syntactically valid JWS with the RFC7797 b64=false header and a multi-megabyte unencoded payload, then submits it repeatedly or with maximum size. Because joserfc's RFC7797 deserialization path omits the max_payload_length check, the server allocates memory proportional to the payload on each verification call, leading to elevated memory consumption or CPU saturation. No public exploit code is known, but the attack requires only knowledge of the JWS format and the ability to reach the endpoint.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 17, 2026

Resource exhaustion in joserfc (versions 1.3.4-1.6.5) is possible because the RFC7797 unencoded-payload (b64=false) JWS code path skips the configured JWSRegistry.max_payload_length check, while the standard compact and flattened JSON paths correctly raise ExceededSizeError. Remotely submitted, cryptographically valid b64=false JWS tokens with arbitrarily large payloads are deserialized without size enforcement, consuming memory or CPU on the verifying server. No public exploit has been identified and the vulnerability is not in the CISA KEV catalog; a vendor-released fix is available in version 1.6.7.

RemediationAI

Vendor-released patch: version 1.6.7, available at https://github.com/authlib/joserfc/releases/tag/1.6.7. The fix - commit 4d4ea2e - adds payload size validation to the b64=false JWS code path, bringing it into parity with the standard compact and flattened JSON paths. Upgrade joserfc to 1.6.7 or later via pip: 'pip install joserfc>=1.6.7'. If an immediate upgrade is not feasible, apply a compensating control at the application or HTTP gateway boundary: reject any inbound request whose token or request body exceeds the intended payload size limit before passing it to joserfc. This workaround requires careful tuning - setting the limit too low may reject legitimate large tokens - and does not eliminate the underlying library flaw, so patching remains the authoritative remediation. The security advisory is at https://github.com/authlib/joserfc/security/advisories/GHSA-wphv-vfrh-23q5.

Affected VersionsENISA

joserfc < 1.6.7

Affected Packages

pypi joserfc fix: 1.6.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

joserfc (CPE cpe:2.3:a:authlib:joserfc:*:*:*:*:*:*:*:*) is the Python JOSE implementation from the authlib project, covering JWS, JWE, and JWT standards. RFC 7797 introduces an optional 'b64=false' JWS header that carries the payload in raw, unencoded form rather than Base64URL-encoded, typically used for detached or human-readable payloads. The library's standard JWS deserialization enforces JWSRegistry.max_payload_length and raises ExceededSizeError when the limit is exceeded; however, the RFC7797 code path that handles b64=false tokens omits this size check entirely. The root cause class is CWE-400 (Uncontrolled Resource Consumption): an externally supplied value - the JWS payload - is processed without an upper-bound constraint, allowing an attacker to drive arbitrarily high memory or CPU consumption during deserialization.

Know when Joserfc gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Network-reachable token submission requires no auth; availability impact is limited resource exhaustion, not crash; zero confidentiality or integrity impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.3 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Jun 26, 2026 - 22:02 EUVD

DescriptionCVE.org

joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. In versions 1.3.4 through 1.6.5, joserfc accepts oversized RFC7797 b64=false JWS payloads without applying JWSRegistry.max_payload_length, which can lead to resource exhaustion. The normal JWS compact and flattened JSON paths reject payloads above the configured payload-size limit with ExceededSizeError. The RFC7797 unencoded payload paths do not make the same check. A valid b64=false compact or flattened JSON JWS can therefore deserialize successfully with a payload larger than JWSRegistry.max_payload_length. Applications that accept lower-trust JWS values and rely on joserfc to reject oversized token content during verification have a moderate availability risk. This issue has been fixed in version 1.6.7.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy