Vulnerability in Jwt Ruby-Jwe
CVE-2025-54887
jwe is a Ruby implementation of the RFC 7516 JSON Web Encryption (JWE) standard. In versions 1.1.0 and below, authentication tags of encrypted JWEs can be brute forced, which may result in loss of confidentiality for those JWEs and provide ways to craft arbitrary JWEs. This puts users at risk because JWEs can be modified to decrypt to an arbitrary value, decrypted by observing parsing differences and the GCM internal GHASH key can be recovered. Users are affected by this vulnerability even if they do not use an AES-GCM encryption algorithm for their JWEs. As the GHASH key may have been leaked, users must rotate the encryption keys after upgrading. This issue is fixed in version 1.1.1.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 19.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Jwt Ruby-Jwe — versions < 1.1.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- shinigami-777/PoC_CVE-2025-54887 (last pushed 2025-08-13): Proof of Concept for CVE-2025-54887
Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, nomi-sec/PoC-in-GitHub, PuddinCat/GithubRepoSpider, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.