CVE-2025-27773 — Vulnerability in simplesamlphp/saml2-legacy — CVE...
The SimpleSAMLphp SAML2 library incorrectly verifies signatures for HTTP-Redirect binding
Summary
Advisory Timeline
- First published March 11, 2025 (580 days ago).
- Last revised September 10, 2026 — 547 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "simplesamlphp/saml2-legacy:^4.17.0"
composer require "simplesamlphp/saml2:^4.17.0"
composer require "simplesamlphp/saml2:^5.0.0-alpha.20"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: packagist (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| simplesamlphp/saml2-legacy | packagist | 4.6.9, v0.1.0, v0.1.0-alpha, v0.3.0 (+140 more) | 4.17.0 |
| simplesamlphp/saml2 | packagist | 4.6.9, v0.1.0, v0.1.0-alpha, v0.3.0 (+142 more) | 4.17.0 |
| simplesamlphp/saml2 | packagist | All versions | 5.0.0-alpha.20 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-347Improper Verification of Cryptographic SignatureMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.
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-xg56WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27773ADVISORY
- https://github.com/simplesamlphp/saml2/commit/7867d6099dc7f31bed1ea10e5bea159c5623d2a0WEB
- https://github.com/simplesamlphp/saml2PACKAGE
- https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L104-L113WEB
- https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L178-L217WEB
- https://lists.debian.org/debian-lts-announce/2025/05/msg00013.htmlWEB
Frequently Asked Questions
- What is CVE-2025-27773?
- The SimpleSAMLphp SAML2 library incorrectly verifies signatures for HTTP-Redirect binding This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
- How do I check if my project is affected by CVE-2025-27773?
- CVE-2025-27773 affects simplesamlphp/saml2-legacy and simplesamlphp/saml2. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-27773 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-49283HIGH
SimpleSAMLphp HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass
- CVE-2026-65954HIGH
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
- CVE-2026-61825HIGH
code16/sharp has a stored XSS via data-html-content Sanitizer Bypass
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies