Ubuntu CVE Tracker
UBUNTU-CVE-2025-27773
Details
The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. Prior to versions 4.17.0 and 5.0.0-alpha.20, there is a signature confusion attack in the HTTPRedirect binding. An attacker with any signed SAMLResponse via the HTTP-Redirect binding can cause the application to accept an unsigned message. Versions 4.17.0 and 5.0.0-alpha.20 contain a fix for the issue.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | simplesamlphp | All versions before 1.14.0-1ubuntu2+esm1 (fixed in 1.14.0-1ubuntu2+esm1) |
| Ubuntu:Pro:18.04:LTS | simplesamlphp | All versions before 1.15.3-1ubuntu0.1~esm1 (fixed in 1.15.3-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | simplesamlphp | All versions before 1.18.4-1ubuntu0.1~esm1 (fixed in 1.18.4-1ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | simplesamlphp | All versions before 1.19.1-1.1ubuntu0.1~esm1 (fixed in 1.19.1-1.1ubuntu0.1~esm1) |
| Ubuntu:24.04:LTS | simplesamlphp | All versions before 1.19.7-1+deb12u1ubuntu0.1 (fixed in 1.19.7-1+deb12u1ubuntu0.1) |
| Ubuntu:25.10 | simplesamlphp | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2025-27773
- https://www.cve.org/CVERecord?id=CVE-2025-27773
- https://github.com/simplesamlphp/saml2/security/advisories/GHSA-46r4-f8gj-xg56
- https://github.com/simplesamlphp/saml2/commit/7867d6099dc7f31bed1ea10e5bea159c5623d2a0
- https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L104-L113
- https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L178-L217
- https://ubuntu.com/security/notices/USN-8770-1