High

SimpleSAMLphp saml2 incorrect signature validation

  • Disclosed: 14.05.2022
  • Updated: 11.10.2026 10:22

HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the signature validation utilities, allowing an attacker to get invalid signatures accepted as valid by forcing an error during validation. This occurs because of a dependency on PHP functionality that interprets a -1 error code as a true boolean value.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package simplesamlphp/saml2 < 1.10.6, >= 2.0, < 2.3.8, >= 3.0, < 3.1.4 1.10.6, 2.3.8, 3.1.4

References

CVSS score 8.1/10
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-347
Platform
Composer
Package
simplesamlphp/saml2
Disclosed
14.05.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-g888-g2pp-82hf - CC BY 4.0

Vulnerability history: simplesamlphp/saml2

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (9) in the archive
Total entries
9
First → latest
05.2022 07.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 7
  • Medium 1

Disclosures per year

  1. 2022: 4
  2. 2023: 1
  3. 2024: 1
  4. 2025: 1
  5. 2026: 2
Severity:
  1. High · 7.5 CVE-2026-49289 >= 4.20.0, < 4.20.3, < 4.19.3 4.20.3, 4.19.3
  2. High · 8.7 CVE-2026-49283 >= 6.0.0, < 6.2.1, >= 5.0.0, < 5.0.6, >= 4.20.0, < 4.20.2, < 4.19.3 6.2.1, 5.0.6, 4.20.2, 4.19.3
  3. High · 8.6 CVE-2025-27773 < 4.17.0, >= 5.0.0-alpha.1, < 5.0.0-alpha.20 4.17.0, 5.0.0-alpha.20
  4. High · 7.5 CVE-2023-49087 >= 5.0.0-alpha.12, < 5.0.0-alpha.13 5.0.0-alpha.13
  5. Critical · 9.1 CVE-2016-9814 >= 1.10, < 1.10.3, < 1.8.1, >= 1.9.0, < 1.9.1, >= 2.0, < 2.3.3 1.10.3, 1.8.1, 1.9.1, 2.3.3
  6. SimpleSAMLphp saml2 incorrect signature validation this entry
    High · 8.1 CVE-2018-7711 < 1.10.6, >= 2.0, < 2.3.8, >= 3.0, < 3.1.4 1.10.6, 2.3.8, 3.1.4
  7. High · 7.5 CVE-2018-6519 < 1.10.4, >= 2.0, < 2.3.5, >= 3.0, < 3.1.1 1.10.4, 2.3.5, 3.1.1
  8. High · 7.5 CVE-2018-7644 < 1.10.5, >= 2.0, < 2.3.7, >= 3.0, < 3.1.3 1.10.5, 2.3.7, 3.1.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.