CVE-2025-54887
CRITICAL 9.1CVSS 3.1JWE is missing AES-GCM authentication tag validation in encrypted JWE
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
- 8 Aug 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-354
- Also known as
- GHSA-c7p4-hx26-pr73
- Sources
- NVDJSONOSV GHSA-c7p4-hx26-pr73JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | jwe | < 1.1.1 | 1.1.1 |
References
- https://github.com/jwt/ruby-jwe/commit/1e719d79ba3d7aadaa39a2f08c25df077a0f9ff1 · WEB
- https://github.com/jwt/ruby-jwe/security/advisories/GHSA-c7p4-hx26-pr73 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54887 · ADVISORY
- https://github.com/jwt/ruby-jwe · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jwe/CVE-2025-54887.yml · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 8 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Aug 2025)