# CVE-2025-27773: SimpleSAMLphp SAML2 library has incorrect signature verification for HTTP-Redirect binding

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2025-03-11T19:04:52.135Z
- Modified: 2026-09-10T03:50:56.811Z
- Also known as: GHSA-46r4-f8gj-xg56
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- simplesamlphp saml2: < 4.17.0; >= 5.0.0-alpha.1, < 5.0.0-alpha.20
- simplesamlphp/saml2 (Packagist): before 4.17.0; from 5.0.0-alpha.1 before 5.0.0-alpha.20
- simplesamlphp/saml2-legacy (Packagist): before 4.17.0

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`

## References

- <https://github.com/simplesamlphp/saml2/security/advisories/GHSA-46r4-f8gj-xg56> (web)
- <https://github.com/simplesamlphp/saml2/commit/7867d6099dc7f31bed1ea10e5bea159c5623d2a0> (web)
- <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://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)

## Sources

- CVE List: [CVE-2025-27773](https://www.cve.org/CVERecord?id=CVE-2025-27773), CVE Terms of Use, modified 2025-05-09
- GitHub Advisory Database: [GHSA-46r4-f8gj-xg56](https://github.com/advisories/GHSA-46r4-f8gj-xg56), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-27773](https://nvd.nist.gov/vuln/detail/CVE-2025-27773), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27773 · Whole record: https://cve.day/CVE-2025-27773.json · Rebuilt by cve.day 2026-11-25T22:58:55.161Z
