Skip to main content
← All vulnerabilities
CVE-2025-54887GHSA-C7P4-HX26-PR73

jwe: Missing AES-GCM authentication tag validation in encrypted JWEs

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.1.1
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • jwt ruby-jwe

    fixed in 1.1.1

  • jweRubyGems

    fixed in 1.1.1

References 3

GitHub · jwt/ruby-jwe

GitHub · shinigami-777/PoC_CVE-2025-54887