Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. jwe
  4. ›
  5. CVE-2025-54887

CVE-2025-54887: JWE is missing AES-GCM authentication tag validation in encrypted JWE

August 7, 2025 (updated August 8, 2025)

  • JWEs can be modified to decrypt to an arbitrary value
  • JWEs can be decrypted by observing parsing differences
  • The GCM internal GHASH key can be recovered

References

  • github.com/advisories/GHSA-c7p4-hx26-pr73
  • github.com/jwt/ruby-jwe
  • github.com/jwt/ruby-jwe/commit/1e719d79ba3d7aadaa39a2f08c25df077a0f9ff1
  • github.com/jwt/ruby-jwe/security/advisories/GHSA-c7p4-hx26-pr73
  • nvd.nist.gov/vuln/detail/CVE-2025-54887

Code Behaviors & Features

Detect and mitigate CVE-2025-54887 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.1.1

Fixed versions

  • 1.1.1

Solution

Upgrade to version 1.1.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-354: Improper Validation of Integrity Check Value

Source file

gem/jwe/CVE-2025-54887.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:42 +0000.