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: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The SimpleSAMLphp SAML2 library allows an attacker to supply XPath transforms while it processes XML signatures in SAML messages. The library does not restrict or validate the transforms, which lets the attacker execute XPath expressions that consume excessive CPU or memory. This resource exhaustion results in a denial of service that can affect any system that relies on SimpleSAMLphp or the SAML2 library, without requiring authentication.

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 not provided, so the exact probability of active exploitation is unclear, 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 19, 2026 at 17:27 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 19, 2026 at 17:27 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 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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-19T14:48:52.694Z

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-19T15:17:07.180

Link: CVE-2026-49289

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-19T17:30:16Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption