Description
HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the signature validation utilities, allowing an attacker to get invalid signatures accepted as valid by forcing an error during validation. This occurs because of a dependency on PHP functionality that interprets a -1 error code as a true boolean value.
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 | 1.15.4-1 | — |
| Debian 12 | simplesamlphp | 1.15.4-1 | — |
| Debian 7 | simplesamlphp | 1.9.2-1+deb7u4 | DLA-1314-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | < 1.10.6 | 1.10.6 | GHSA-g888-g2pp-82hf |
| Packagist | simplesamlphp/saml2 | >= 2.0, < 2.3.8 | 2.3.8 | GHSA-g888-g2pp-82hf |
| Packagist | simplesamlphp/saml2 | >= 3.0, < 3.1.4 | 3.1.4 | GHSA-g888-g2pp-82hf |
Advisories 1
- DLA-1314-1 simplesamlphp - security update Debian Security (DSA / DLA) · Mar 9, 2026