patchminder
Proof of concept · GitHub CVE-2025-54887

Vulnerabilityin the jwe package.

Published 8 Aug 2025 · Updated 8 Aug 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 9.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.3% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.1.1 or later
In plain words

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.

What to do now
  • Upgrade ruby-jwe to 1.1.1 or later.
  • Upgrade jwe (RubyGems) to 1.1.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
ruby-jwe
before 1.1.1
1.1.1
CVE record
jwe (RubyGems)
before 1.1.1
1.1.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 31 Jul 2025
    CVE ID reserved by GitHub_M.
  2. 8 Aug 2025
    Published in the CVE List.
  3. 8 Aug 2025
    CVE record last updated.
  4. 12 Aug 2025
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundshinigami-777/PoC_CVE-2025-548870 stars · created 12 Aug 2025Proof of Concept for CVE-2025-54887

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness:

All CWE-354 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-54887: Vulnerability in the jwe package. https://patchminder.com/cve/cve-2025-54887/ (accessed 5 December 2026).