Skip to content

← Public intelligence

Packagist package

onelogin/php-saml

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

3 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.3PackagistPublished

    SAML PHP Toolkit Vulnerability on xmlseclibs CVE-2025-66475

    GHSA-5j8p-438x-rgg5

    Affected
    • Packagist onelogin/php-saml < 2.21.1; >= 3.0.0, < 3.8.1; >= 4.0.0, < 4.3.1
    Fixed in
    3.8.14.3.12.21.1· Vendor fix available
    Issue
    There is a critical vulnerability on xmlseclibs CVE-2025-66475, a dependency of php-saml Update to the following versions of php-saml which forces the use of patched versions of xmlseclibs: - 2.21.1 - 3.8.1 - 4.3.1 Impact Signature Wrapping Vulnerabilities allows an attacker to impersonate a user.

    Recommended action: Upgrade to 4.3.1, 3.8.1 or 2.21.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. UnratedPackagistPublished

    onelogin/php-saml signature wrapping attacks

    CVE-2016-1000253 · GHSA-g48f-pgwh-wwxx

    Affected
    • Packagist onelogin/php-saml < 2.10.0
    Fixed in
    2.10.0· Vendor fix available
    Issue
    Vulnerability in onelogin/php-saml versions prior to 2.10.0 allows signature Wrapping attacks which may result in a malicious user gaining unauthorized access to a system.

    Recommended action: Upgrade to 2.10.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. UnratedPackagistPublished

    onelogin/php-saml Improper signature validation on LogoutRequest/LogoutResponse.

    GHSA-9wrw-p9rm-r782

    Affected
    • Packagist onelogin/php-saml < 2.10.4
    Fixed in
    2.10.4· Vendor fix available
    Issue
    In order to verify Signatures on Logoutrequests and LogoutResponses we use the verifySignature of the class XMLSecurityKey from the xmlseclibs library. That method end up calling opensslverify() depending on the signature algorithm used. The opensslverify() function returns 1 when the signature was successfully verified, 0 if it failed to verify with the given key, and -1 in case an error occurs. PHP allows translating numerical values to boolean implicitly, with the following correspondences: - 0 equals false. - Non-zero equals true. This means that an implicit conversion to boolean of the values returned by opensslverify() will convert an error state, signaled by the value -1, to a successful verification of the signature (represented by the boolean true). The LogoutRequest/LogoutResponse signature validator was performing an implicit conversion to boolean of the values returned by the verify() method, which subsequently will return the same output as opensslverify() under most…

    Recommended action: Upgrade to 2.10.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →