CVE-2025-54887
Last modified
CVE-2025-54887 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-54887?
How severe is CVE-2025-54887?
How do I fix CVE-2025-54887?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-54881Mermaid is a JavaScript based diagramming and charting tool …5.3
- CVE-2025-54882Himmelblau is an interoperability suite for Microsoft Azure …7.1
- CVE-2025-54883Vision UI is a collection of enterprise-grade, dependency-fr…9.3
- CVE-2025-54884Vision UI is a collection of enterprise-grade, dependency-fr…8.7
- CVE-2025-54885Thinbus Javascript Secure Remote Password is a browser SRP6a…6.9
- CVE-2025-54886skops is a Python library which helps users share and ship t…8.4
- CVE-2025-54888Fedify is a TypeScript library for building federated server…8.7
- CVE-2025-54889Improper Neutralization of Input During Web Page Generation …4.8
- CVE-2025-5489Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-54890Improper Neutralization of Input During Web Page Generation …4.8
- CVE-2025-54891Improper Neutralization of Input During Web Page Generation …4.8
- CVE-2025-54892Improper Neutralization of Input During Web Page Generation …4.8
Are you affected by CVE-2025-54887?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
