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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| simplesamlphp | saml2 | >= 4.19.2, < 4.19.3, >= 4.20.2, < 4.20.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | simplesamlphp | No fix yet | — |
| Debian 12 | simplesamlphp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | simplesamlphp | No fix yet | — |
| Ubuntu 26.04 LTS | simplesamlphp | No fix yet | — |
| Ubuntu 24.04 LTS | simplesamlphp | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | simplesamlphp | No fix yet | — |
| Ubuntu Pro 20.04 LTS | simplesamlphp | No fix yet | — |
| Ubuntu Pro 18.04 LTS | simplesamlphp | No fix yet | — |
| Ubuntu Pro 16.04 LTS | simplesamlphp | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | simplesamlphp/saml2 | >= 4.20.0, < 4.20.3 | 4.20.3 | GHSA-5cjr-mxj5-wmrx |
| Packagist | simplesamlphp/saml2 | < 4.19.3 | 4.19.3 | GHSA-5cjr-mxj5-wmrx |
| Packagist | simplesamlphp/saml2-legacy | >= 4.20.0, < 4.20.3 | 4.20.3 | GHSA-5cjr-mxj5-wmrx |
| Packagist | simplesamlphp/saml2-legacy | < 4.19.3 | 4.19.3 | GHSA-5cjr-mxj5-wmrx |