Home / simplesamlphp / saml2 / CVE-2025-27773
CVE-2025-27773: is it exploited, and which versions of simplesamlphp saml2 are affected and fixed?
CVE-2025-27773 is a cryptographic signature not verified vulnerability in simplesamlphp saml2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: simplesamlphp/saml2 before 4.17.0, simplesamlphp/saml2 from 5.0.0-alpha.1 before 5.0.0-alpha.20 and simplesamlphp/saml2-legacy before 4.17.0 (GitHub advisory GHSA-46r4-f8gj-xg56). Fixed in 4.17.0 and 5.0.0-alpha.20 (GitHub advisory GHSA-46r4-f8gj-xg56). Severity: High (8.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:22 UTC.
What is CVE-2025-27773?
SimpleSAMLphp 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.
From the CVE record by GitHub_M, last updated May 9, 2025, 20:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| simplesamlphp | saml2 | < 4.17.0 >= 5.0.0-alpha.1, < 5.0.0-alpha.20 |
As the CVE record by GitHub_M states it, last updated May 9, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | simplesamlphp/saml2 | < 4.17.0 | 4.17.0 | GHSA-46r4-f8gj-xg56 |
| Packagist | simplesamlphp/saml2 | >= 5.0.0-alpha.1, < 5.0.0-alpha.20 | 5.0.0-alpha.20 | GHSA-46r4-f8gj-xg56 |
| Packagist | simplesamlphp/saml2-legacy | < 4.17.0 | 4.17.0 | GHSA-46r4-f8gj-xg56 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 9, 2025. Summary: The SimpleSAMLphp SAML2 library incorrectly verifies signatures for HTTP-Redirect binding.
How severe is CVE-2025-27773?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-27773 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, March 11, 2025)
- EPSS
- 0.41% probability of exploitation activity in the next 30 days, percentile 37.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-347 Improper Verification of Cryptographic Signature
Where are the vendor advisories and references?
- https://github.com/simplesamlphp/saml2/security/advisories/GHSA-46r4-f8gj-xg56 x_refsource_CONFIRM
- https://github.com/simplesamlphp/saml2/commit/7867d6099dc7f31bed1ea10e5bea159c5623d2a0 x_refsource_MISC
- https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L104-L113 x_refsource_MISC
- https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L178-L217 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/05/msg00013.html
When was it published, and where is the official record?
- Reserved
- March 6, 2025
- Published
- March 11, 2025, 19:04 UTC
- CVE record updated
- May 9, 2025, 20:03 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:04 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:22 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect saml2?
- Dec 2, 2026CVE-2026-142239 simplesamlphp saml2: hard-coded cryptographic key
- Nov 17, 2026CVE-2026-110782 simplesamlphp saml2: authentication bypass (improper authentication)
- Aug 19, 2026CVE-2026-49289 simplesamlphp saml2: denial of service (uncontrolled resource consumption)
- Aug 19, 2026CVE-2026-49283 simplesamlphp saml2: improper certificate validation
- Dec 2, 2024CVE-2024-52806 simplesamlphp saml2: XML external entity (XXE)
- Mar 5, 2018CVE-2018-7711 Simplesamlphp: cryptographic signature not verified
- Feb 2, 2018CVE-2018-6519 Simplesamlphp Saml2: injection
- Feb 16, 2017CVE-2016-9814 Simplesamlphp: n/a
Questions about CVE-2025-27773
Is CVE-2025-27773 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.41% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of simplesamlphp saml2 are affected by CVE-2025-27773?
simplesamlphp/saml2 before 4.17.0, simplesamlphp/saml2 from 5.0.0-alpha.1 before 5.0.0-alpha.20 and simplesamlphp/saml2-legacy before 4.17.0, per the GitHub advisory GHSA-46r4-f8gj-xg56. The tables above give every range the sources list.
Which version fixes CVE-2025-27773?
4.17.0 and 5.0.0-alpha.20, per the GitHub advisory GHSA-46r4-f8gj-xg56. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-27773?
High (8.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-27773?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.