CVE-2026-48525

EUVD-2026-32919
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.3 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: 29.75%
Affected Products (NVD)
VendorProductVersion
pyjwt_projectpyjwt
2.8.0 ≤
𝑥
≤ 2.12.1
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
pyjwt
bookworm
postponed
bookworm (security)
vulnerable
bullseye
1.7.1-2
fixed
bullseye (security)
1.7.1-2+deb11u1
fixed
forky
2.13.0-1
fixed
sid
2.13.0-1
fixed
trixie
no-dsa
trixie (security)
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
pyjwt
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage
xenial
needs-triage
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
python3-PyJWT
suse enterprise sap 15 SP4
2.4.0-150200.3.14.1
fixed
suse enterprise sap 15 SP5
2.4.0-150200.3.14.1
fixed
suse enterprise sap 15 SP6
2.4.0-150200.3.14.1
fixed
suse enterprise server 15 SP4
2.4.0-150200.3.14.1
fixed
suse enterprise server 15 SP5
2.4.0-150200.3.14.1
fixed
suse enterprise server 15 SP6
2.4.0-150200.3.14.1
fixed
python311-PyJWT
suse enterprise sap 15 SP4
2.8.0-150400.8.13.1
fixed
suse enterprise sap 15 SP5
2.8.0-150400.8.13.1
fixed
suse enterprise sap 15 SP6
2.8.0-150400.8.13.1
fixed
suse enterprise server 15 SP4
2.8.0-150400.8.13.1
fixed
suse enterprise server 15 SP5
2.8.0-150400.8.13.1
fixed
suse enterprise server 15 SP6
2.8.0-150400.8.13.1
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
python3-jwt
Amazon Linux 2023
0:2.4.0-1.amzn2023.0.5
fixed
python3-jwt+crypto
Amazon Linux 2023
0:2.4.0-1.amzn2023.0.5
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
python-jwt
Azure Linux 3.0
0:2.13.0-1.azl3
fixed