{"id":"CVE-2026-49289","aliases":["DEBIAN-CVE-2026-49289","EUVD-2026-62505","GHSA-5cjr-mxj5-wmrx","UBUNTU-CVE-2026-49289"],"status":"published","title":"SimpleSAMLphp SAML2: Possible DoS via XPath Transform","description":"The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00784,"percentile":0.56373,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2026-07-02T20:27:23Z","modified":"2026-10-28T02:30:26Z","fixes":[{"ecosystem":"Packagist","package":"simplesamlphp/saml2","fixed_in":["4.20.3","4.19.3"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"simplesamlphp/saml2-legacy","fixed_in":["4.20.3","4.19.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"simplesamlphp/saml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"last_affected":"4.20.2"},{"fixed":"4.20.3"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"simplesamlphp/saml2-legacy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"last_affected":"4.20.2"},{"fixed":"4.20.3"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"simplesamlphp/saml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.19.2"},{"fixed":"4.19.3"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"simplesamlphp/saml2-legacy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.19.2"},{"fixed":"4.19.3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19.7-1","1.19.7-1+deb12u1","1.19.7-1+deb12u2","1.19.7-2","2.1.8-0.1","2.2.6-1","2.3.11-1","2.3.11-2","2.4.8-1","2.5.3.1-1"]},{"source":"osv","ecosystem":"Debian:14","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.0-1","1.11.0-1","1.12.0-1","1.12.0~rc1-1","1.12.0~rc2-1","1.13.0-1","1.13.1-1","1.13.1-2","1.13.2-1","1.14.0-1","1.14.1-1","1.14.10-1","1.14.11-1","1.14.15-1","1.14.2-1","1.14.2-2","1.14.3-1","1.14.4-1","1.14.5-1","1.14.6-1","1.14.7-1","1.14.8-1","1.14.9-1","1.15.0-1","1.15.1-1","1.15.2-1","1.15.3-1","1.15.4-1","1.16.0-1","1.16.1-1","1.16.2-1","1.16.3-1","1.17.0-1","1.17.1-1","1.17.2-1","1.17.2-2","1.17.3-1","1.17.4-1","1.17.5-1","1.17.6-1","1.17.6-2","1.18.1-1","1.18.4-1","1.18.5-1","1.18.6-1","1.18.7-1","1.18.8-1","1.19.0-1","1.19.1-1","1.19.1-1.1","1.19.6-1","1.19.7-1","1.19.7-2","1.6.0-1","1.6.1-1","1.6.2-1","1.6.3-1","1.6.3-2","1.6.3-3","1.7.0-1","1.7.0-2","1.8.0-1","1.8.1-1","1.8.2-1","1.9.0-1","1.9.0~rc1-1","1.9.0~rc2-1","1.9.1-1","1.9.2-1","2.1.8-0.1","2.2.6-1","2.3.11-1","2.3.11-2","2.4.8-1","2.5.3.1-1"]},{"source":"osv","ecosystem":"Packagist","package":"simplesamlphp/saml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"4.20.3"}]}],"versions":["v4.20.0","v4.20.1","v4.20.2"]},{"source":"osv","ecosystem":"Packagist","package":"simplesamlphp/saml2-legacy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"4.20.3"}]}],"versions":["v4.20.0","v4.20.1","v4.20.2"]},{"source":"osv","ecosystem":"Packagist","package":"simplesamlphp/saml2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.19.3"}]}],"versions":["4.6.9","v0.1.0","v0.1.0-alpha","v0.3.0","v0.4.0","v0.4.1","v0.4.2","v0.5.0","v0.6.0","v0.6.1","v0.6.2","v0.6.3","v0.6.4","v0.7.0","v0.7.1","v0.8.0","v0.8.1","v1.0.0","v1.1.0","v1.10","v1.10.1","v1.10.2","v1.10.3","v1.10.4","v1.10.5","v1.10.6","v1.2.0","v1.3.0","v1.3.1","v1.3.2","v1.4.0","v1.5.0","v1.5.1","v1.5.2","v1.5.3","v1.5.4","v1.6.0","v1.6.1","v1.7.0","v1.7.1","v1.7.2","v1.8","v1.8.1","v1.8.2","v1.9","v1.9.1","v1.9.2","v2.0.0","v2.0.1","v2.1","v2.2","v2.3","v2.3.1","v2.3.2","v2.3.3","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v3.0.0","v3.0.1","v3.0.2","v3.0.3","v3.1.0","v3.1.1","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6","v3.2","v3.2.1","v3.2.2","v3.2.3","v3.2.4","v3.2.5","v3.2.6","v3.3.0","v3.3.1","v3.3.10","v3.3.11","v3.3.2","v3.3.3","v3.3.4","v3.3.5","v3.3.6","v3.3.7","v3.3.8","v3.3.9","v3.4.0","v3.4.1","v3.4.2","v3.4.3","v3.4.4","v3.4.5","v4.0.0","v4.0.1","v4.0.2","v4.0.3","v4.1.0","v4.1.1","v4.1.10","v4.1.11","v4.1.12","v4.1.2","v4.1.3","v4.1.4","v4.1.5","v4.1.6","v4.1.7","v4.1.8","v4.1.9","v4.16.14","v4.17.0","v4.18.0","v4.18.1","v4.19.0","v4.19.1","v4.19.2","v4.2.0","v4.2.1","v4.2.2","v4.2.3","v4.2.4","v4.2.5","v4.2.6","v4.2.7","v4.2.8","v4.3.0","v4.3.1","v4.4.0","v4.4.1","v4.5.0","v4.5.1","v4.6.0","v4.6.1","v4.6.10","v4.6.11","v4.6.12","v4.6.13","v4.6.14","v4.6.15","v4.6.16","v4.6.2","v4.6.3","v4.6.4","v4.6.5","v4.6.6","v4.6.7","v4.6.8"]},{"source":"osv","ecosystem":"Packagist","package":"simplesamlphp/saml2-legacy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.19.3"}]}],"versions":["4.6.9","v0.1.0","v0.1.0-alpha","v0.3.0","v0.4.0","v0.4.1","v0.4.2","v0.5.0","v0.6.0","v0.6.1","v0.6.2","v0.6.3","v0.6.4","v0.7.0","v0.7.1","v0.8.0","v0.8.1","v1.0.0","v1.1.0","v1.10","v1.10.1","v1.10.2","v1.10.3","v1.10.4","v1.10.5","v1.10.6","v1.2.0","v1.3.0","v1.3.1","v1.3.2","v1.4.0","v1.5.0","v1.5.1","v1.5.2","v1.5.3","v1.5.4","v1.6.0","v1.6.1","v1.7.0","v1.7.1","v1.7.2","v1.8","v1.8.1","v1.8.2","v1.9","v1.9.1","v1.9.2","v2.0.0","v2.0.1","v2.1","v2.2","v2.3","v2.3.1","v2.3.2","v2.3.3","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v3.0.0","v3.0.1","v3.0.2","v3.0.3","v3.1.0","v3.1.1","v3.1.2","v3.1.3","v3.1.4","v3.1.5","v3.1.6","v3.2","v3.2.1","v3.2.2","v3.2.3","v3.2.4","v3.2.5","v3.2.6","v3.3.0","v3.3.1","v3.3.10","v3.3.11","v3.3.2","v3.3.3","v3.3.4","v3.3.5","v3.3.6","v3.3.7","v3.3.8","v3.3.9","v3.4.0","v3.4.1","v3.4.2","v3.4.3","v4.0.0","v4.0.1","v4.0.2","v4.0.3","v4.1.0","v4.1.1","v4.1.10","v4.1.11","v4.1.12","v4.1.2","v4.1.3","v4.1.4","v4.1.5","v4.1.6","v4.1.7","v4.1.8","v4.1.9","v4.16.14","v4.17.0","v4.18.0","v4.18.1","v4.19.0","v4.19.1","v4.19.2","v4.2.0","v4.2.1","v4.2.2","v4.2.3","v4.2.4","v4.2.5","v4.2.6","v4.2.7","v4.2.8","v4.3.0","v4.3.1","v4.4.0","v4.4.1","v4.5.0","v4.5.1","v4.6.0","v4.6.1","v4.6.10","v4.6.11","v4.6.12","v4.6.13","v4.6.14","v4.6.15","v4.6.16","v4.6.2","v4.6.3","v4.6.4","v4.6.5","v4.6.6","v4.6.7","v4.6.8"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.2-1","1.14.0-1","1.14.0-1ubuntu2","1.14.0-1ubuntu2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.15-1","1.15.0-1","1.15.1-1","1.15.2-1","1.15.3-1","1.15.3-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.5-1","1.17.6-1","1.17.6-2","1.18.1-1","1.18.4-1","1.18.4-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19.1-1","1.19.1-1.1","1.19.1-1.1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19.7-1","1.19.7-1+deb12u1ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19.7-2","2.1.8-0.1","2.2.6-1","2.3.11-1","2.3.11-2","2.4.8-1","2.5.3.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.19.7-2"]}],"products":[{"vendor":"simplesamlphp","product":"saml2"}],"references":[{"url":"https://github.com/simplesamlphp/saml2/security/advisories/GHSA-5cjr-mxj5-wmrx","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/simplesamlphp/saml2/commit/0043033891fdba9618386ab583e1d8afdf8aea6e","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/simplesamlphp/saml2/commit/6695eb923da491f716009c2a26b34a463ac05c6b","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/advisories/GHSA-5cjr-mxj5-wmrx"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49289.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49289","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-49289","tags":["advisory"]},{"url":"https://github.com/simplesamlphp/saml2","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2026-49289","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-49289","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-49289","title":"SimpleSAMLphp SAML2: Possible DoS via XPath Transform","description":"The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.","status":"published","published":"2026-08-19T14:48:52.694Z","modified":"2026-08-19T18:04:15.406Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T13:35:10.963527Z"}],"euvd":[{"id":"EUVD-2026-62505","description":"The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.","status":"published","published":"2026-08-19T14:48:52Z","modified":"2026-08-19T18:04:15Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T18:01:41.405951Z"}],"ghsa":[{"id":"GHSA-5cjr-mxj5-wmrx","title":"SimpleSAMLphp has Possible DoS via XPath Transform","description":"## Summary\n\nThis library turned out to be vulnerable to Denial-of-Service attacks using XPath transforms. A mitigation has been put in place to restrict the number of transforms and to restrict transforms to only the transform-algorithms mentioned in the SAML 2.0 Core Specifications (and specifically refuse XPath transforms).\n\n## Impact\n\nAn attacker is able to send specially crafted messages to any entity relying on SimpleSAMLphp (or directly on this SAML2-library) to be able to perform a Denial-of-Service attack.","status":"published","published":"2026-07-02T20:27:23Z","modified":"2026-08-05T12:44:44Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:40:56.852119Z"}],"nvd":[{"id":"CVE-2026-49289","description":"The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.","status":"published","published":"2026-08-19T15:17:07.18Z","modified":"2026-09-18T20:09:01.757Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:12:39.962615Z"}],"osv":[{"id":"CVE-2026-49289","title":"SimpleSAMLphp SAML2: Possible DoS via XPath Transform","description":"The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.","status":"published","published":"2026-08-19T14:48:52.694Z","modified":"2026-10-28T02:30:26.27344087Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:45:07.060148Z"},{"id":"DEBIAN-CVE-2026-49289","description":"The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.","status":"published","published":"2026-08-19T15:17:07.18Z","modified":"2026-10-01T03:03:24.66125017Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:56.444225Z"},{"id":"GHSA-5cjr-mxj5-wmrx","title":"SimpleSAMLphp has Possible DoS via XPath Transform","description":"## Summary\n\nThis library turned out to be vulnerable to Denial-of-Service attacks using XPath transforms. A mitigation has been put in place to restrict the number of transforms and to restrict transforms to only the transform-algorithms mentioned in the SAML 2.0 Core Specifications (and specifically refuse XPath transforms).\n\n## Impact\n\nAn attacker is able to send specially crafted messages to any entity relying on SimpleSAMLphp (or directly on this SAML2-library) to be able to perform a Denial-of-Service attack.","status":"published","published":"2026-07-02T20:27:23Z","modified":"2026-08-05T13:00:18.818511159Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:38.213481Z"},{"id":"UBUNTU-CVE-2026-49289","description":"The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.","status":"published","published":"2026-08-19T15:17:00Z","modified":"2026-10-17T12:58:33.208641752Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:56:33.391918Z"}]}}
