CVE-2026-48525
published medium CVSS 3.1 · 5.3PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jpadilla | — | pyjwt>= 2.8.0, < 2.13.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2051 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | noble | pyjwt | Advisory build | 2.7.0-1ubuntu0.2 | USN-8823-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| Amazon Linux | AL2023 | python-jwtnoarch | Listed in advisory | Not stated | ALAS2023-2026-2051 |
| Ubuntu | resolute | pyjwt | Advisory build | 2.10.1-4ubuntu1.1 | USN-8823-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-15-SP5 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
Show 24 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-15-SP6 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-16 | python313-PyJWTnoarch | Advisory build | 2.12.1-160000.2.1 | SUSE-SU-2026:22170-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-PyJWTnoarch | Advisory build | 2.8.0-150400.8.13.1 | SUSE-SU-2026:2626-1 |
| SUSE / openSUSE | SLE-5 | python3-PyJWTnoarch | Advisory build | 2.4.0-150200.3.14.1 | SUSE-SU-2026:2627-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-PyJWTnoarch | Advisory build | 2.12.1-160000.2.1 | OPENSUSE-SU-2026:21095-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTaarch64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTppc64le | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTs390x | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-PyJWTx86_64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTaarch64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTppc64le | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTs390x | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-PyJWTx86_64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTaarch64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTppc64le | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTs390x | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-PyJWTx86_64 | Advisory build | 2.13.0-1.1 | OPENSUSE-SU-2026:11024-1 |
| Ubuntu | noble | python3-jwt | Advisory build | 2.7.0-1ubuntu0.2 | USN-8823-1 |
| Ubuntu | resolute | python3-jwt | Advisory build | 2.10.1-4ubuntu1.1 | USN-8823-1 |
| Amazon Linux | AL2023 | python-jwtsrc | Listed in advisory | Not stated | ALAS2023-2026-2051 |
Description
PyJWT is a JSON Web Token implementation in Python. From 2.8.0 to 2.12.1, when verifying detached JWS tokens using the unencoded-payload option ("b64": false, RFC 7797), PyJWT performs Base64URL decoding of the compact-serialization payload segment before enforcing the detached-payload rules. For b64=false, PyJWT later discards that decoded payload and replaces it with the caller-provided detached_payload. In practice, this turns the middle segment into an attacker-controlled “work amplifier”: a remote client can supply an arbitrarily large Base64URL payload segment that forces CPU work + memory allocations even if the signature is invalid. This creates an unauthenticated DoS vector against any endpoint that verifies detached JWS using PyJWT. This vulnerability is fixed in 2.13.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jpadilla | pyjwt | >= 2.8.0, < 2.13.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
1Provider assertions
2GitHub_M · cna
PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e3ccb2e9217a79b384a47718cb4e99fae4bfa3e84c1c8bd38dcb64378d53297b
- Ingested
- 23 Sep 2026, 09:17:37 UTC
- Source record
- Official CVE record