CVE catalog

CVE-2026-25537

rust-jsonwebtoken: CVE-2026-25537

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianrust-jsonwebtokensid9.3.1-1vulnerable
Debianrust-jsonwebtokenforky9.3.1-1vulnerable
Debianrust-jsonwebtokentrixie8.3.0-5vulnerable
Debianrust-jsonwebtokenbookworm8.2.0-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-jsonwebtokensourcesid(unfixed)not yet assignedNot reported[1127319]
Debianrust-jsonwebtokensourceforky(unfixed)not yet assignedNot reported[1127319]
Debianrust-jsonwebtokensourcetrixie(unfixed)not yet assignedNot reported[1127319]
Debianrust-jsonwebtokensourcebookworm(unfixed)not yet assignedNot reported[1127319]

[Debian bug #1127319]

Notes

[trixie] rust-jsonwebtoken: Minor issue [bookworm] rust-jsonwebtoken: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [rust-jsonwebtoken]

    Details (2)
    • 8.2.0-1+b1 · amd64 · bookworm

      Affected

      dsa · rust-jsonwebtoken · debian · bookworm; dsa · rust-jsonwebtoken · debian · 12

    • 8.2.0-1+b1 · arm64 · bookworm

      Affected

      dsa · rust-jsonwebtoken · debian · bookworm; dsa · rust-jsonwebtoken · debian · 12

[Debian 13 (Trixie)]

  • Source package: [rust-jsonwebtoken]

    Details (2)
    • 8.3.0-5 · amd64 · trixie

      Affected

      dsa · rust-jsonwebtoken · debian · 13

    • 8.3.0-5 · arm64 · trixie

      Affected

      dsa · rust-jsonwebtoken · debian · 13

Observed:

References