Skip to content
OpenAdvisories
High · 8.6 CVE-2025-27773 EUVD-2025-7804GHSA-46r4-f8gj-xg56

SimpleSAMLphp SAML2 library has incorrect signature verification for HTTP-Redirect binding

Published Mar 11, 2025 · Updated May 9, 2025 · 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.

Affected products

VendorProductAffectedFixed
simplesamlphp saml2 < 4.17.0, >= 5.0.0-alpha.1, < 5.0.0-alpha.20 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 simplesamlphp 1.19.7-2 —
Debian 12 simplesamlphp 1.19.7-1+deb12u2 —
Debian 11 simplesamlphp 1.19.0-1+deb11u2 DLA-4161-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 simplesamlphp No fix yet —
Ubuntu 24.04 LTS simplesamlphp 1.19.7-1+deb12u1ubuntu0.1 USN-8770-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS simplesamlphp 1.19.1-1.1ubuntu0.1~esm1 USN-8770-1
Ubuntu Pro 20.04 LTS simplesamlphp 1.18.4-1ubuntu0.1~esm1 USN-8770-1
Ubuntu Pro 18.04 LTS simplesamlphp 1.15.3-1ubuntu0.1~esm1 USN-8770-1
Ubuntu Pro 16.04 LTS simplesamlphp 1.14.0-1ubuntu2+esm1 USN-8770-1

Affected packages

EcosystemPackageAffectedFixedRecord
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

Advisories 2

References