CVE-2025-27773SimpleSAMLphp SAML2 library has incorrect signature verification for HTTP-Redirect binding
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.
What to do
Fixed builds are available from Debian, Packagist, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | simplesamlphp | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | simplesamlphp | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-27773 | |
| Ubuntu 24.04 | simplesamlphp | Fixed | 1.19.7-1+deb12u1ubuntu0.1 | UBUNTU-CVE-2025-27773 |
| Ubuntu 22.04 | simplesamlphp | Fix pending | 1.19.1-1.1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-27773 |
| Ubuntu 20.04 | simplesamlphp | Fix pending | 1.18.4-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-27773 |
| Ubuntu 18.04 | simplesamlphp | Fix pending | 1.15.3-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-27773 |
| Ubuntu 16.04 | simplesamlphp | Fix pending | 1.14.0-1ubuntu2+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-27773 |
| Debian 14 | simplesamlphp | Fixed | 1.19.7-2 | DEBIAN-CVE-2025-27773 |
| Debian 12 | simplesamlphp | Fixed | 1.19.7-1+deb12u2 | DEBIAN-CVE-2025-27773 |
| Packagist library | simplesamlphp/saml2 | Fixed | 5.0.0-alpha.20 | GHSA-46r4-f8gj-xg56 |
| Packagist library | simplesamlphp/saml2-legacy | Fixed | 4.17.0 | GHSA-46r4-f8gj-xg56 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- simplesamlphp saml2: affected: < 4.17.0, >= 5.0.0-alpha.1, < 5.0.0-alpha.20
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.