Vulnerabilities / CVE-2025-45765

critical

CVE-2025-45765

ruby-jwt: Ruby-JWT Weak Encryption

Published Modified CWE 326
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

No source gives a CVSS score.

Trivy's own label is CRITICAL. Rated critical by Ruby Advisory DB.

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 and fixed versions

SourcePackageFixed in
rubygems::Ruby Advisory Databaseruby-jwt>= 3.0.0.beta1
debian 11ruby-jwtno fix listed
debian 12ruby-jwtno fix listed
debian 13ruby-jwtno fix listed
debian 14ruby-jwtno fix listed
echoruby-jwtno fix listed
rapidfort debian 12ruby-jwtno fix listed
rapidfort debian 13ruby-jwtno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.