CVE-2025-45769: Firebase/php jwt Php-jwt Contains Weak Encryption Vulnerability
LOWCVE-2025-45769 is a LOW (CVSS 6.5) php-jwt contains weak encryption vulnerability (CWE-326: Inadequate Encryption Strength) affecting Firebase/php jwt libraries in the Packagist ecosystem. The issue involves php-jwt contains weak encryption. Remediation is available by upgrading affected packages to version 7.0.0.
CVE-2025-45769 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2025-45769
To remediate this vulnerability, upgrade all affected Firebase/php jwt dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade firebase/php-jwt to 7.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for firebase/php-jwt
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-45769, inspect your project dependencies for Firebase/php jwt:
inspect dependencies for firebase/php-jwt
Analyze the terminal output to locate any version of Firebase/php jwt in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.0.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-326: Inadequate Encryption Strength, where the product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required. In Firebase/php jwt, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-45769 Affected Firebase/php jwt Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
firebase/php-jwt
|
Packagist |
< 7.0.0
|
7.0.0
|
References
Frequently Asked Questions
What is CVE-2025-45769?
Which Firebase/php jwt versions are affected?
What version fixes CVE-2025-45769?
Is firebase/php-jwt affected?
What is the CVSS score of CVE-2025-45769?
What CWE is associated with CVE-2025-45769?
How can I check Packagist dependencies for CVE-2025-45769?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2x45-7fc3-mxwq",
"modified" : "2026-02-27T18:57:12Z",
"published" : "2025-07-31T21:31:53Z",
"aliases" : [ "CVE-2025-45769" ],
"summary" : "php-jwt contains weak encryption",
"details" : "php-jwt v6.11.0 was discovered to contain weak encryption.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "firebase/php-jwt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-45769"
}, {
"type" : "WEB",
"url" : "https://github.com/firebase/php-jwt/issues/611"
}, {
"type" : "WEB",
"url" : "https://github.com/firebase/php-jwt/issues/618"
}, {
"type" : "WEB",
"url" : "https://github.com/firebase/php-jwt/issues/620"
}, {
"type" : "WEB",
"url" : "https://github.com/firebase/php-jwt/pull/613"
}, {
"type" : "WEB",
"url" : "https://github.com/github/advisory-database/pull/6954"
}, {
"type" : "WEB",
"url" : "https://github.com/firebase/php-jwt/commit/6b80341bf57838ea2d011487917337901cd71576"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/ZupeiNie/83756316c4c24fe97a50176a92608db3"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-2x45-7fc3-mxwq"
}, {
"type" : "WEB",
"url" : "https://github.com/firebase"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/firebase/php-jwt"
}, {
"type" : "WEB",
"url" : "https://github.com/firebase/php-jwt/releases/tag/v7.0.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-326" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-18T00:55:29Z",
"nvd_published_at" : "2025-07-31T20:15:33Z"
}
}