Skip to content
Heist/ feed
Unrated

DEBIAN-CVE-2026-25537

Type: advisorySource: OSV1 source record

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.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-25537

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-25537

rust-jsonwebtoken

Source reference: /affected/0/package/name

Affected versions
8.2.0-1

Source reference: /affected/0/versions

8.3.0-1

Source reference: /affected/0/versions

8.3.0-2

Source reference: /affected/0/versions

8.3.0-3

Source reference: /affected/0/versions

8.3.0-4

Source reference: /affected/0/versions

8.3.0-5

Source reference: /affected/0/versions

9.3.1-1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

rust-jsonwebtoken

Source reference: /affected/1/package/name

Affected versions
8.3.0-5

Source reference: /affected/1/versions

9.3.1-1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

rust-jsonwebtoken

Source reference: /affected/2/package/name

Affected versions
8.3.0-5

Source reference: /affected/2/versions

9.3.1-1

Source reference: /affected/2/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "rust-jsonwebtoken",
      "purl": "pkg:deb/debian/rust-jsonwebtoken?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "8.2.0-1",
      "8.3.0-1",
      "8.3.0-2",
      "8.3.0-3",
      "8.3.0-4",
      "8.3.0-5",
      "9.3.1-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-25537.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "rust-jsonwebtoken",
      "purl": "pkg:deb/debian/rust-jsonwebtoken?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "8.3.0-5",
      "9.3.1-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-25537.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "rust-jsonwebtoken",
      "purl": "pkg:deb/debian/rust-jsonwebtoken?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "8.3.0-5",
      "9.3.1-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-25537.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56248 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement