CVE-2025-54887

CRITICAL

jwe <1.1.0 - Confidentiality Disclosure

Title source: llm

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.

Exploits (1)

nomisec WORKING POC
by shinigami-777 · poc
https://github.com/shinigami-777/PoC_CVE-2025-54887

Scores

CVSS v3 9.1
EPSS 0.0001
EPSS Percentile 2.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE
CWE-354
Status draft

Affected Products (1)

rubygems/jwe < 1.1.1RubyGems

Timeline

Published Aug 08, 2025
Tracked Since Feb 18, 2026