Vulnerability · Published Jul 31, 2025 · Assigned by mitre
CVE-2025-45769
Medium 6.5
In plain English
A medium-severity security flaw in the firebase/php-jwt package (Packagist). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | firebase/php-jwt | 7.0.0 | GHSA-2x45-7fc3-mxwq |
Affected products (as reported)
Weakness: CWE-326 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/firebase/php-jwt
- https://github.com/firebase
- https://gist.github.com/ZupeiNie/83756316c4c24fe97a50176a92608db3
- https://github.com/firebase/php-jwt/issues/620
- https://github.com/github/advisory-database/pull/6954
- https://github.com/advisories/GHSA-2x45-7fc3-mxwq
- https://github.com/firebase/php-jwt/releases/tag/v7.0.0
- https://github.com/firebase/php-jwt/pull/613