{"schemaVersion":3,"id":"CVE-2025-27773","aliases":["UBUNTU-CVE-2025-27773","DEBIAN-CVE-2025-27773","DLA-4161-1"],"status":"published","duplicateOf":null,"title":"SimpleSAMLphp SAML2 library has incorrect signature verification for HTTP-Redirect binding","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.","dates":{"published":"2025-03-11T19:04:52.135Z","modified":"2025-05-09T20:03:38.107Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.6,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","exploitability":10,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","exploitability":10,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00415,"percentile":0.34702,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.026999999999999982,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00388},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00415,"percentile":0.34702}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00388,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00415,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00415,"percentile":0.34702}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"debian","product":"simplesamlphp","name":"simplesamlphp","label":"simplesamlphp","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/simplesamlphp","purlType":"deb","versions":[{"text":"< 1.19.7-1+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.19.7-2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.19.0-1+deb11u2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.19.7-1+deb12u2 | < 1.19.7-2 | < 1.19.0-1+deb11u2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"simplesamlphp","name":"simplesamlphp","label":"simplesamlphp","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/simplesamlphp","purlType":"deb","versions":[{"text":"< 1.14.0-1ubuntu2+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.15.3-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.18.4-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.19.1-1.1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.19.7-1+deb12u1ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 1.14.0-1ubuntu2+esm1 | < 1.15.3-1ubuntu0.1~esm1 | < 1.18.4-1ubuntu0.1~esm1 | < 1.19.1-1.1ubuntu0.1~esm1 | < 1.19.7-1+deb12u1ubuntu0.1 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"simplesamlphp","product":"saml2","name":"saml2","label":"saml2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.17.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0-alpha.1, < 5.0.0-alpha.20","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.17.0 | ≥ 5.0.0-alpha.1, < 5.0.0-alpha.20","eol":null,"hubHref":"/vendor/simplesamlphp/saml2"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/simplesamlphp/saml2/security/advisories/GHSA-46r4-f8gj-xg56","label":"github.com/simplesamlphp/saml2/security/advisories/GHSA-46r4-f8gj-xg56","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/simplesamlphp/saml2/commit/7867d6099dc7f31bed1ea10e5bea159c5623d2a0","label":"github.com/simplesamlphp/saml2/commit/7867d6099dc7f31bed1ea10e5bea159c5623d2a0","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L104-L113","label":"github.com/simplesamlphp/…","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L178-L217","label":"github.com/simplesamlphp/…","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00013.html","label":"lists.debian.org/debian-lts-announce/2025/05/msg00013.html","hostname":"lists.debian.org","tags":[]},{"url":"https://ubuntu.com/security/CVE-2025-27773","label":"ubuntu.com/security/CVE-2025-27773","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-27773","label":"www.cve.org/CVERecord?id=CVE-2025-27773","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8770-1","label":"ubuntu.com/security/notices/USN-8770-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-27773","label":"security-tracker.debian.org/tracker/CVE-2025-27773","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-8770-1"],"duplicates":[],"related":["USN-8770-1"]},"timeline":[{"kind":"published","date":"2025-03-11T19:04:52.135Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-09T20:03:38.107Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T21:47:06.225Z","stale":false,"partial":false}}