CVE-2025-45769: php-jwt · Inadequate Encryption Strength
Source CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
Organizations should immediately review their use of php-jwt version 6.11.0 and assess their cryptographic key management practices. Specifically, ensure that encryption keys used for JWT signing and verification meet strong length and complexity requirements consistent with current cryptographic standards (e.g., minimum 256-bit keys for HMAC or appropriate key sizes for asymmetric algorithms). Developers should implement application-level controls to enforce key strength, as the library does not enforce this. Additionally, consider upgrading to a newer version of php-jwt if and when a patched release addressing this issue becomes available. In the interim, perform security audits and penetration testing focused on JWT handling to detect weak keys or token forgery vulnerabilities. Employ defense-in-depth strategies such as token expiration, audience validation, and issuer verification to limit the impact of compromised tokens. Monitoring and logging JWT validation failures can help detect exploitation attempts. Finally, educate development teams about secure cryptographic practices and the importance of key management in JWT security.
Description
php-jwt v6.11.0 was discovered to contain weak encryption. NOTE: this issue has been disputed on the basis that key lengths are expected to be set by an application, not by this library. This dispute is subject to review under CNA rules 4.1.4, 4.1.14, and other rules; the dispute tagging is not meant to recommend an outcome for this CVE Record.
References
- github.com/firebase/php-jwt (opens in a new tab)
- github.com/firebase (opens in a new tab)
- gist.github.com/ZupeiNie/83756316c4c24fe97a50176a92608db3 (opens in a new tab)
- github.com/firebase/php-jwt/issues/620 (opens in a new tab)
- github.com/github/advisory-database/pull/6954 (opens in a new tab)
- github.com/advisories/GHSA-2x45-7fc3-mxwq (opens in a new tab)
- github.com/firebase/php-jwt/releases/tag/v7.0.0 (opens in a new tab)
- github.com/firebase/php-jwt/pull/613 (opens in a new tab)