Vulnerability · Published Aug 7, 2025 · Assigned by mitre

CVE-2025-45765

Critical 9.1

In plain English

A critical-severity security flaw in the ruby-jwt package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities).

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.2%top 93.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

ruby-jwt v3.0.0.beta1 was discovered to contain weak encryption. NOTE: the Supplier's perspective is "keysize is not something that is enforced by this library. Currently more recent versions of OpenSSL are enforcing some key sizes and those restrictions apply to the users of this gem also."

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ruby-jwtno fix listedDEBIAN-CVE-2025-45765
Debian:13ruby-jwtno fix listedDEBIAN-CVE-2025-45765
Debian:14ruby-jwtno fix listedDEBIAN-CVE-2025-45765
Ubuntu:22.04:LTSruby-jwtno fix listedUBUNTU-CVE-2025-45765
Ubuntu:24.04:LTSruby-jwtno fix listedUBUNTU-CVE-2025-45765
Ubuntu:25.10ruby-jwtno fix listedUBUNTU-CVE-2025-45765
Ubuntu:26.04:LTSruby-jwtno fix listedUBUNTU-CVE-2025-45765
Ubuntu:26.10ruby-jwtno fix listedUBUNTU-CVE-2025-45765

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-326 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

References