CVE-2025-45769
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.
What to do
Fixed builds are available from Packagist: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Packagist library | firebase/php-jwt | Fixed | 7.0.0 | GHSA-2x45-7fc3-mxwq |
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.