CVE-2025-45769: Firebase/php jwt Php-jwt Contains Weak Encryption Vulnerability

LOW
Advisory Identifier: GHSA-2x45-7fc3-mxwq
CVSS 6.5
CWE-326
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-45769
GHSA Identifier GHSA-2x45-7fc3-mxwq
Severity LOW
CVSS v3.1 Base Score 6.5
CWE Classification CWE-326: Inadequate Encryption Strength
Affected Product Firebase/php jwt
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (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.

firebase/php-jwt fixed: 7.0.0
Upgrade firebase/php-jwt to 7.0.0
Verify Direct and Transitive Dependencies

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

php-jwt v6.11.0 was discovered to contain weak encryption.

CVE-2025-45769 Affected Firebase/php jwt Versions

1 component(s)
Fixed Versions:
7.0.0
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?
CVE-2025-45769 is a security vulnerability in Firebase/php jwt involving php-jwt contains weak encryption under CWE-326: Inadequate Encryption Strength.
Which Firebase/php jwt versions are affected?
Affected versions include releases prior to 7.0.0 across affected packages: firebase/php-jwt.
What version fixes CVE-2025-45769?
Upgrading to 7.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is firebase/php-jwt affected?
Yes, firebase/php-jwt is affected in releases prior to 7.0.0. Upgrade your dependency to 7.0.0 or later.
What is the CVSS score of CVE-2025-45769?
CVE-2025-45769 has a CVSS v3.1 base score of 6.5 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2025-45769?
CVE-2025-45769 is classified under CWE-326: Inadequate Encryption Strength (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.).
How can I check Packagist dependencies for CVE-2025-45769?
Run the dependency tree command: 'inspect dependencies for firebase/php-jwt'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}