CVE-2025-27773
HIGH 8.6CVSS 3.1The SimpleSAMLphp SAML2 library incorrectly verifies signatures 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.
- Published
- 11 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-347
- Also known as
- GHSA-46r4-f8gj-xg56
- Sources
- NVDJSONOSV GHSA-46r4-f8gj-xg56JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | simplesamlphp/saml2 | < 4.17.0 | 4.17.0 |
| OSV | Packagist | simplesamlphp/saml2 | >= 5.0.0-alpha.1, < 5.0.0-alpha.20 | 5.0.0-alpha.20 |
| OSV | Packagist | simplesamlphp/saml2-legacy | < 4.17.0 | 4.17.0 |
References
- https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L104-L113 · WEB
- https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L178-L217 · WEB
- https://github.com/simplesamlphp/saml2/commit/7867d6099dc7f31bed1ea10e5bea159c5623d2a0 · WEB
- https://github.com/simplesamlphp/saml2/security/advisories/GHSA-46r4-f8gj-xg56 · WEB
- https://lists.debian.org/debian-lts-announce/2025/05/msg00013.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27773 · ADVISORY
- https://github.com/simplesamlphp/saml2 · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 11 Mar 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 Mar 2025)