Description
The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.
Published: 2026-08-19
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The SimpleSAMLphp SAML2 PHP library, version 4.19.2 and 4.20.2, permits an attacker to define XPath transforms during XML signature processing of SAML messages. Because the library does not validate or restrict these transforms, a crafted message can trigger XPath queries that consume excessive CPU or memory. The result is a denial of service that can affect any application or service using the vulnerable library, without needing authentication. The fix, available in 4.19.3 and 4.20.3, limits the number of allowed transforms and rejects XPath transforms outright.

Affected Systems

The vulnerability affects the SimpleSAMLphp SAML2 PHP library. The affected versions are 4.19.2 and 4.20.2. Fixes were released in 4.19.3 and 4.20.3, and later releases are presumed to be safe.

Risk and Exploitability

The CVSS score of 7.5 indicates a high impact denial of service scenario. The EPSS score is very low (< 1%), suggesting a low probability of active exploitation, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is a remote unauthenticated attacker sending a specially crafted SAML message that contains a malicious XPath transform, which the library will process during signature verification. If the target application uses the vulnerable library to validate SAML responses, the crafted message can cause the target to exhaust processing resources, leading to a service interruption.

Generated by OpenCVE AI on August 20, 2026 at 15:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the simplesamlphp/saml2 library to a fixed release (4.19.3 or later, including 4.20.3).
  • Replace any vendor copies of the old library version in the application and update the composer dependencies so the new package is used.
  • Verify that the application’s XML signature verification logic does not enable custom XPath transforms and that only the algorithms approved by the SAML 2.0 Core specification are allowed.

Generated by OpenCVE AI on August 20, 2026 at 15:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5cjr-mxj5-wmrx SimpleSAMLphp has Possible DoS via XPath Transform
History

Wed, 19 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Simplesamlphp
Simplesamlphp saml2
Vendors & Products Simplesamlphp
Simplesamlphp saml2

Wed, 19 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Description The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.
Title SimpleSAMLphp SAML2: Possible DoS via XPath Transform
Weaknesses CWE-400
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Simplesamlphp Saml2
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T18:04:15.406Z

Reserved: 2026-05-28T20:07:58.862Z

Link: CVE-2026-49289

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T15:17:07.180

Modified: 2026-08-19T18:16:41.317

Link: CVE-2026-49289

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T15:30:03Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption