
CVE catalog
CVE-2026-25537
rust-jsonwebtoken: CVE-2026-25537
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.50% · Oct 25, 2026
jsonwebtoken is a JWT lib in rust. Prior to version 10.3.0, there is a Type Confusion vulnerability in jsonwebtoken, specifically, in its claim validation logic. When a standard claim (such as nbf or exp) is provided with an incorrect JSON type (Like a String instead of a Number), the library’s internal parsing mechanism marks the claim as “FailedToParse”. Crucially, the validation logic treats this “FailedToParse” state identically to “NotPresent”. This means that if a check is enabled (like: validate_nbf = true), but the claim is not explicitly marked as required in required_spec_claims, the library will skip the validation check entirely for the malformed claim, treating it as if it were not there. This allows attackers to bypass critical time-based security restrictions (like “Not Before” checks) and commit potential authentication and authorization bypasses. This issue has been patched in version 10.3.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-jsonwebtoken | sid | 9.3.1-1 | vulnerable |
| Debian | rust-jsonwebtoken | forky | 9.3.1-1 | vulnerable |
| Debian | rust-jsonwebtoken | trixie | 8.3.0-5 | vulnerable |
| Debian | rust-jsonwebtoken | bookworm | 8.2.0-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-jsonwebtoken | source | sid | (unfixed) | not yet assigned | Not reported | [1127319] |
| Debian | rust-jsonwebtoken | source | forky | (unfixed) | not yet assigned | Not reported | [1127319] |
| Debian | rust-jsonwebtoken | source | trixie | (unfixed) | not yet assigned | Not reported | [1127319] |
| Debian | rust-jsonwebtoken | source | bookworm | (unfixed) | not yet assigned | Not reported | [1127319] |
Notes
[trixie] rust-jsonwebtoken: Minor issue [bookworm] rust-jsonwebtoken: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-jsonwebtoken-dev]Affected
Source package: [rust-jsonwebtoken]
Details (2)
8.2.0-1+b1· amd64 · bookwormAffected
dsa · rust-jsonwebtoken · debian · bookworm; dsa · rust-jsonwebtoken · debian · 12
8.2.0-1+b1· arm64 · bookwormAffected
dsa · rust-jsonwebtoken · debian · bookworm; dsa · rust-jsonwebtoken · debian · 12
[Debian 13 (Trixie)]
- [librust-jsonwebtoken-dev]Affected
Source package: [rust-jsonwebtoken]
Details (2)
8.3.0-5· amd64 · trixieAffected
dsa · rust-jsonwebtoken · debian · 13
8.3.0-5· arm64 · trixieAffected
dsa · rust-jsonwebtoken · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-25537]
- [https://security-tracker.debian.org/tracker/CVE-2026-25537]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25537.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]