CVE-2025-54887
published critical CVSS 3.1 · 9.1jwe: Missing AES-GCM authentication tag validation in encrypted JWEs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jwt | — | ruby-jwe< 1.1.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jwt | ruby-jwe | < 1.1.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-354 CWE-354: Improper Validation of Integrity Check Value
References
2Provider assertions
2GitHub_M · cna
jwe: Missing AES-GCM authentication tag validation in encrypted JWEs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4cf710a1f624340630fcbc0c70c338de29019fdf4cd6a51049beb29dc4c75e40
- Ingested
- 23 Sep 2026, 08:53:16 UTC
- Source record
- Official CVE record